Upgrading Bullet

View previous topic View next topic Go down

Upgrading Bullet

Post  hemmi on Mon Oct 19, 2009 8:00 pm

Hello,

I'm trying to include the latest trunk version of bullet in my sio2 project. I'm having trouble. If I create a blank project and copy the bullet src directory, bullet compiles fine, assuming I use 'src/**' as a header search path. However, if I copy the same bullet src directory into the template sio2 project, I get about 10000 errors; bullet just won't compile. And here I'm using the same header include path. Basically all the errors say that the files in the src directory don't exist. Anyone tried this before?

Thanks!

hemmi

Posts : 15
Join date : 2009-08-27

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  sio2interactive on Mon Oct 19, 2009 8:09 pm

to include Bullet into SIO2, I get rid of all the directories, and simply copy all the .h and .cpp into one folder, do the same then replace the path in the header files.

Find & Replace All will help Wink

Cheers,

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Upgrading Bullet

Post  hemmi on Mon Oct 19, 2009 8:20 pm

Thanks, I'll try that out. But shouldn't it still compile, even if sio2 has nothing to do with it? If it compiles in an empty project it seems like it should compile the same way in sio2. Is there something going on with the build settings that could be throwing it off?

hemmi

Posts : 15
Join date : 2009-08-27

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  sio2interactive on Mon Oct 19, 2009 8:49 pm

Its the path where the headers are located... that's all... Bullet have multiple directories... it was bothering me as I like to keep all source at 1 place, so I copy all headers & source file and put them in the bullet directory of SIO2 that's all, it should be a no brainer to re-compile it and link a new version with SIO2...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Upgrading Bullet

Post  hemmi on Mon Oct 19, 2009 11:29 pm

Awesome thank you, I was able to get it working Smile

hemmi

Posts : 15
Join date : 2009-08-27

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  Francescu on Tue Oct 20, 2009 12:02 am

Any noticeable differences?

Francescu

Posts : 136
Join date : 2009-03-18

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  hemmi on Tue Oct 20, 2009 3:37 am

It seems to run just fine from a quick test. Still having trouble getting the new bullet to replace the old bullet so the template and all the tutorials use it automatically. It blows up with errors about the bullet headers not existing.

hemmi

Posts : 15
Join date : 2009-08-27

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum