build - Bullet Physics, CMake->CodeBlocks - MinGW: Doesn't find GL/glut.h? -
build - Bullet Physics, CMake->CodeBlocks - MinGW: Doesn't find GL/glut.h? -
statistics...
my system: windows vista 64 bit
library: bullet physics v2.78
makefile generator: cmake
build system: mingw command line, mingw + codeblocks
makefiles implemented command line , through cmake-generated code::blocks project
in both cases, build fails near 30%. note: did have switch build executable in code::blocks project make.exe mingw32-make.exe
first failure: demos\opengl\gldebugfont.cpp -> gl/glut.h: no such file or directory
second failure (after commenting out #include first) -> demos/opengl/glutstuff.h: same error
these failures happen when build command-line or through generated c::b project.
why can't find gl/glut.h? "bullet-2.78\glut\gl\glut.h" exists. maybe there's way can tell find glut there?
note: during cmake makefile generation, cmake did tell me "you using obsolete glu package, please utilize opengl instead." continued normal makefile generation. maybe need define environment variables? maybe need configure in windows cmake looking for?
i add together compiler search path in bullet-2.78/glut, code::blocks doesn't allow if you're using custom makefile (like cmake-generated one).
update: have been able build library itself, building specific targets in code::blocks project. however, have been unable build of demos or benchmark test, since utilize opengl (and apparently glut.h). still compile those.
build cmake mingw glut bulletphysics
Comments
Post a Comment