Upgrading Bullet

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View previous topic View next topic Go down

Upgrading Bullet

Post  hemmi on Tue Oct 20, 2009 2:00 am

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

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  sio2interactive on Tue Oct 20, 2009 2:09 am

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

sio2interactive

Posts: 1524
Join date: 2008-08-26
Age: 30
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Upgrading Bullet

Post  hemmi on Tue Oct 20, 2009 2:20 am

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

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  sio2interactive on Tue Oct 20, 2009 2:49 am

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

sio2interactive

Posts: 1524
Join date: 2008-08-26
Age: 30
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Upgrading Bullet

Post  hemmi on Tue Oct 20, 2009 5:29 am

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

hemmi

Posts: 15
Join date: 2009-08-28

View user profile

Back to top Go down

Re: Upgrading Bullet

Post  Francescu on Tue Oct 20, 2009 6: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 9: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-28

View user profile

Back to top Go down

View previous topic View next topic Back to top


This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Permissions of this forum:
You cannot reply to topics in this forum