Page 1 of 1

bullet-2.76 for MinGW

Posted: Tue Aug 31, 2010 12:16 am
by Edimartin
Hi. I compile the bullet physics in MinGW.

Here is all the libs.

I test all and I have a user error only in bulletMultiThreaded (I don1t know hal can I resolve the problem).


I put here the two parts (individuals) of the files.

I hope I help.

Thanks.



Edimartin Martins.

Re: bullet-2.76 for MinGW

Posted: Tue Aug 31, 2010 3:09 pm
by Dragonlord
Against which g++ version you compiled? As default MinGW has gcc 3.4 while advanced users tend to patch up their MinGW to gcc 4.4 or 4.5 . Either of them are not compatible with libs created in gcc 3.4 unfortunately.

Re: bullet-2.76 for MinGW

Posted: Tue Aug 31, 2010 8:28 pm
by Erwin Coumans
The latest Bullet-2.77 trunk and updated beta should build fine with CMake 2.8.x and MinGW32.

1) Unzip Bullet-2.77 in an empty directoy (don't use old cmake configurations)
2) Use cmake-gui to generate MinGW32 Makefiles
3) mingw32-make

Can you please try it?
Thanks,
Erwin

Re: bullet-2.76 for MinGW

Posted: Wed Sep 01, 2010 8:39 am
by LvR
Hi,
I've just download the bullet-2.77-beta.zip, and it compiles and runs well with the following :
- Code::Blocks 10.05 MinGW package (with glutmingw added from here : http://chortle.ccsu.edu/Bloodshed/glutming.zip)
- CMake 2.8.2
- Compilation done like this :

Code: Select all

@echo off
rem Specify the path to your CMake installation
set CMAKE=C:\Workspaces\Perso\C\cmake-2.8.2-win32-x86
rem For x64 the following might work for you:
rem set CMAKE=C:\Program Files (x86)\CMake 2.8

rem Specify the path to your MinGW installation
set MINGW=C:\Workspaces\Perso\C\CodeBlocks\MinGW
set BUILD=RelWithDebInfo
rem set BUILD=Release
rem set BUILD=Debug

rem ---------------------------------------------------------
rem Preparing environment...
set PATH=%PATH%;%CMAKE%\bin;%MINGW%\bin
rem Calling CMake...
cmake.exe -G "MinGW Makefiles" . -DCMAKE_BUILD_TYPE="%BUILD%"
rem Compile
mingw32-make.exe
I've not test all the demos but AppAllBulletDemos.exe works as wanted.
Thanks you for your improved MinGW support (needed some tweaks with 2.76)

Re: bullet-2.76 for MinGW

Posted: Sat Sep 04, 2010 2:23 pm
by Edimartin
Hi. The version of MinGW are MinGW-5.1.6;

I sorry but I don't know how use the Cmake. I never learn to use the cMake.

I change the include files. Then the files can use others in diferent folders.