-
-
Notifications
You must be signed in to change notification settings - Fork 6
Build on Windows
Jakob Flierl edited this page Jun 15, 2022
·
32 revisions
The native Windows build is complicated and error-prone. As of 2016-06 the preferred way by @koppi to build bpp for Windows is to cross-compile bpp using MXE:
cd /opt
git clone https://github.com/mxe/mxe.git
cd mxe
export PATH=`pwd`/usr/bin/:$PATH
nice make MXE_TARGETS='x86_64-w64-mingw32.shared' qt5 QT5_BUILD_TYPE=-debug-and-release lua bullet assimp freeglut glew sdl2
Download and build libQGLViewer:
git clone https://github.com/GillesDebunne/libQGLViewer
cd libQGLViewer
/opt/mxe/usr/x86_64-w64-mingw32.shared/qt5/bin/qmake
make
Download and build luabind:
apt-get source luabind # luabind-0.9.1+git20150823+dfsg
x86_64-w64-mingw32.shared-cmake . -DBUILD_SHARED_LIBS:BOOL=ON -Wno-dev . -G "Unix Makefiles"
make
make install
WIP..