Compiling Bullet 2.77 under Windows, need help.

Tibor
Posts: 1
Joined: Sun Oct 10, 2010 1:16 pm

Compiling Bullet 2.77 under Windows, need help.

Post by Tibor »

Hello everyone, I'm a new user.
I'd like to include Bullet in one of my projects, and i want to use static linking ( .a libs) instead of including the whole source.
So i tried to build these libraries using CMake and Make for Windows.
Anyway, i got stuck right after creating the makefile: if use make on the main makefile, it gives me this error instead:

Code: Select all

make[1]: CMakeFiles\Makefile2: No such file or directory
make[1]: *** No rule to make target `CMakeFiles\Makefile2'.  Stop.
make: *** [all] Error 2
My CMake-GUI settings are these:
Where is the source code: bullet-2.77
Where to build the binaries: bullet-2.77/lib
Every variable value is left as-is except for USE_GLUT, which is disabled
Using MinGW with default native compilers.

What am I doing wrong?
Thanks in advance.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Compiling Bullet 2.77 under Windows, need help.

Post by Erwin Coumans »

Tibor wrote: Using MinGW with default native compilers.
What am I doing wrong?
No idea, MinGW works just fine here. If you really need to use MinGW, it seems better to use the MinGW support channels.

If you are using Microsoft Visual Studio, there are project files that should work out-of-the-box, so there is no need to use cmake.
Thanks,
Erwin