What I do:
set GLUT_INCLUDE_DIR=c:\include\Glut
set INCLUDE=c:\include\Glut
(I've moved the Glut directory from bullet there)
cmake -G "MinGW Makefiles"
mingw32-make
It starts building and fails at 63% with message:
Code: Select all
[ 63%] Building RC object Demos/AllBulletDemos/CMakeFiles/AppAllBulletDemos.dir/
__/__/build/bullet.obj
gcc: error: and\: No such file or directory
gcc: error: Settings\p_\Desktop\bullet-2.81-rev2613\Extras\LibXML: No such file
or directory
gcc: error: and\: No such file or directory
gcc: error: Settings\p_\Desktop\bullet-2.81-rev2613\Extras\LibXML\include: No su
ch file or directory
D:\strawberry\c\bin\windres.exe: preprocessing failed.
mingw32-make[2]: *** [Demos/AllBulletDemos/CMakeFiles/AppAllBulletDemos.dir/__/_
_/build/bullet.obj] Error 1
mingw32-make[1]: *** [Demos/AllBulletDemos/CMakeFiles/AppAllBulletDemos.dir/all]
Error 2
mingw32-make: *** [all] Error 2