Bullet on Windows without Visualstudio

Empire-Phoenix
Posts: 24
Joined: Sat Nov 07, 2009 7:57 pm

Bullet on Windows without Visualstudio

Post by Empire-Phoenix »

Hi,

Currently I'm stuck trying to get bullet to compile on a windows with Eclipse c/c++ and Mingw

What I try to archive is:
A bullet.dll (or similar) that I can compile for windows or for linux and with 64bits
Opencl support and with double precision.

Is there some easy way how to archive this? I already read some stuff about Cmake, however I honestly would prefer a IDE for building. ( Also where can I specify the stuff mentiond above for the cmake?, especially the double precision and the 64 bits)
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Bullet on Windows without Visualstudio

Post by Erwin Coumans »

The latest cmake should be able to generate project files for all kind of IDE's, including Eclipse c/c++ and Mingw.

Have you tried running cmake-gui?

Thanks,
Erwin
Empire-Phoenix
Posts: 24
Joined: Sat Nov 07, 2009 7:57 pm

Re: Bullet on Windows without Visualstudio

Post by Empire-Phoenix »

Well I did that with Cmake(gui) and created a project for Eclipse CDT4 - MinGW Makefiles.

After that I used in eclipse new-> other -> c/c++ -> makefile Project with Existing Code and selected there the output folder from cmake.

After that everything looks kinda similar to the visualstudio and I have all the demo's ect there.

This is where I'm stuck currently (before the following they all say in progress something about creating make files for folder ...

cygwin internal:

Code: Select all

**** Rebuild of configuration Default for project btcomp ****

**** Internal Builder is used for build               ****
****  WARNING: The "Default" Configuration may not build  ****
****  because it uses the "Cygwin GCC"  ****
****  tool-chain that is unsupported on this system.  ****

****  Attempting to build...  **** 

Build error
null
Mingw internal builder

Code: Select all

**** Rebuild of configuration Default for project btcomp ****

**** Internal Builder is used for build               ****
Build error
null
Mingw gnu make builder

Code: Select all

**** Build of configuration Default for project btcomp ****


(Cannot run program "make": Launching failed)
Does anyone here know what why this might be happening? Hello word programm are compileable without any problem, so I think the mingw compiler is set up correctly (correct me if I'm wrong.)
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Bullet on Windows without Visualstudio

Post by Erwin Coumans »

Unfortunately we only support visual studio under Windows. There is a free version of that compiler.
We tried using MinGW and code::blocks, and both work fine.

If you use another compiler you better use their support or cmake.
Thanks,
Erwin
Empire-Phoenix
Posts: 24
Joined: Sat Nov 07, 2009 7:57 pm

Re: Bullet on Windows without Visualstudio

Post by Empire-Phoenix »

I switched over to Code::Blocks and everything is working as supposed right from the start :)