bullet-2.76 for MinGW

Post Reply
Edimartin
Posts: 3
Joined: Thu Apr 15, 2010 6:54 pm

bullet-2.76 for MinGW

Post 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.
Attachments
bullet-2.76 MinGW part2.7z
Part 2 have include, lib and src files . Paste in c:\minGW
(598.02 KiB) Downloaded 321 times
bullet-2.76 MinGW part1.7z
Part 1 have bin files (windows dll's). Paste in c:\minGW
(1.48 MiB) Downloaded 350 times
User avatar
Dragonlord
Posts: 198
Joined: Mon Sep 04, 2006 5:31 pm
Location: Switzerland
Contact:

Re: bullet-2.76 for MinGW

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: bullet-2.76 for MinGW

Post 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
LvR
Posts: 13
Joined: Mon Mar 17, 2008 8:09 am

Re: bullet-2.76 for MinGW

Post 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)
Edimartin
Posts: 3
Joined: Thu Apr 15, 2010 6:54 pm

Re: bullet-2.76 for MinGW

Post 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.
Post Reply