Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Compiling with MinGW
PostPosted: Sun May 20, 2012 10:29 am 
Offline

Joined: Sun May 20, 2012 10:15 am
Posts: 1
Hi, I'm totally new to Bullet so please bear with me. I currently have a project using ODE, so I have some experience with using other physics engines, but I've just recently decided to check Bullet out since it is object oriented, supports soft bodies, and can use GPU acceleration, all of which would be useful to me. So I downloaded the latest version of Bullet (2.80-rev2531 at the time of writing) and set about trying to compile it with the latest TDM MinGW. Everything seems to work, up till it gets to compiling Demos\OpenGL\GLDebugFont.cpp, at which point the build fails with the following error:
Code:
C:\Users\Rory\dev\bullet-2.80-rev2531\Demos\OpenGL\GLDebugFont.cpp:44:21: error: GL/glut.h: No such file or directory
mingw32-make[2]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/GLDebugFont.obj] Error 1
mingw32-make[1]: *** [Demos/OpenGL/CMakeFiles/OpenGLSupport.dir/all] Error 2
mingw32-make: *** [all] Error 2

I tried adding the Glut directory which contains GL/glut.h to CMAKE_INCLUDE_PATHand %INCLUDE% but to no avail. I should probably add that I don't have that much experience with CMake so I could be missing something that would otherwise be fairly obvious :)

On a side note, I also noticed that CMake spat out "NVidia OPENCL NOT FOUND" when I was configuring it, does anyone know how I can build it with OpenCL support? This isn't too big a deal ince won't need it for a while and I'd just like to get Bullet working first, but I do plan on eventually using GPU acceleration in my project so I will need to get OpenCL to work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group