bullet-2.76 for MinGW

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

bullet-2.76 for MinGW

Post by Edimartin » Tue Aug 31, 2010 12:16 am

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.


Edimartin Martins.
bullet-2.76 MinGW part2.7z
Part 2 have include, lib and src files . Paste in c:\minGW
(598.02 KiB) Downloaded 113 times
bullet-2.76 MinGW part1.7z
Part 1 have bin files (windows dll's). Paste in c:\minGW
(1.48 MiB) Downloaded 138 times

User avatar
Posts: 191
Joined: Mon Sep 04, 2006 5:31 pm
Location: Switzerland

Re: bullet-2.76 for MinGW

Post by Dragonlord » Tue Aug 31, 2010 3:09 pm

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: 4194
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: bullet-2.76 for MinGW

Post by Erwin Coumans » Tue Aug 31, 2010 8:28 pm

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?

Posts: 13
Joined: Mon Mar 17, 2008 8:09 am

Re: bullet-2.76 for MinGW

Post by LvR » Wed Sep 01, 2010 8:39 am

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
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)

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

Re: bullet-2.76 for MinGW

Post by Edimartin » Sat Sep 04, 2010 2:23 pm

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