Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Bullet Physics and X64
PostPosted: Thu Nov 08, 2012 1:26 am 
Offline

Joined: Tue Dec 27, 2011 11:51 am
Posts: 50
I just tryed recompiling bullet physics to x64 using visual studio 2010
after adding x64 configuration and changing the target machine on each project the lib seem to compile fine but the apps fail complaining that there is an incompatibilitie like a lib still using the x86 version.

Anyone tryed porting bullet to x64 befor?


Top
 Profile  
 
PostPosted: Fri Nov 09, 2012 12:14 am 
Offline

Joined: Wed Sep 05, 2012 5:57 pm
Posts: 10
I'm also working with the x64 version of bullet. Have you also compiled the bulletbuild with 64 bits? Then it should be no problem to run your demo files.


Top
 Profile  
 
PostPosted: Fri Nov 09, 2012 1:06 pm 
Offline

Joined: Tue Dec 27, 2011 11:51 am
Posts: 50
well it seem my bullet didn't come with a x64 configuration and i had to create one


Top
 Profile  
 
PostPosted: Fri Nov 09, 2012 5:36 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3883
Location: California, USA
Bullet comes with both 32 bit and 64 bit configurations for every platform.

If you use CMake to generate your Visual Studio projects, simply select the 64bit version of visual studio, using cmake-gui (the graphical user interface of CMake)
Here is a screenshot of the 64bit compiler selection:

Attachment:
cmake_64bit.png
cmake_64bit.png [ 70.82 KiB | Viewed 959 times ]


If you use the premake to generatio Visual Studio projects, you can also select 32bit or 64bit inside Visual Studio.
Here are the steps:

1) Download Bullet 2.81 or later
2) Click on bullet\build\vs2010.bat
3) Open bullet\build\vs2010\C:\develop\bullet_latest\build\vs2010\0BulletSolution.sln
4) Select 32bit or 64bit, see screenshot:

Attachment:
x64.png
x64.png [ 43.18 KiB | Viewed 960 times ]


In other words, there is no need to "port" anything. I'll add it to the user manual.
Thanks,
Erwin


Top
 Profile  
 
PostPosted: Fri Nov 09, 2012 6:28 pm 
Offline

Joined: Tue Dec 27, 2011 11:51 am
Posts: 50
thank's that was the issue i built only x86 with cmake


Top
 Profile  
 
PostPosted: Sat Nov 10, 2012 3:46 am 
Offline

Joined: Tue Dec 27, 2011 11:51 am
Posts: 50
Is the multi-Threaded version making math with pointers? it's simply crashing when compiled to x64 not mentioning all the issues i have with it in x86 multi-threaded and ghost object


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Yahoo [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group