Building for OpenBSD

OpenBSD is not officially supported. These instructions are not actively updated.

Cloning Lime3DS

                    
    git clone --recursive https://github.com/Lime3DS/Lime3DS
    cd Lime3DS
                    
                

Building

  • Install the required packages: pkg_add cmake sdl2 qtbase
  • Make the build directory: mkdir build && cd build
  • Export the Qt directory: export Qt5_DIR=/usr/local/lib/qt5/cmake/Qt5
  • Make CMake files: cmake -DCMAKE_CXX_FLAGS='-I/usr/local/include -O2' -DCMAKE_EXE_LINKER_FLAGS='-z wxneeded' ..
  • Make executable: make