Horde3D

Next-Generation Graphics Engine
It is currently 25.11.2024, 09:43

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 18.01.2012, 04:52 
Offline

Joined: 17.01.2012, 04:56
Posts: 4
Hello,
It was a very happy day when I discovered horde 48 hours ago (came from ogre). I love it :D. Thanks for an amazing library. (had to get that out there, first post :p)

Anyway, I was trying to get bullet, the physics library, integrated for fun using Volker's updated source. After a few modifications (make it work on linux) I wanted to make an extension out of it, so I did.

My question is how does one deal with external libraries when writing extensions?
Unlike volker's source, i am linking to an install of bullet that i have on my computer. I set everything up and to my dismay the other samples would not compile(link). They needed to be linked to bullet as well. Is there anyway around this?

I am still fairly new to this type of thing so I appologize if this question is silly.
If anybody thinks this extension is useful I will be more than happy to upload source.

Thanks,


Last edited by penguins916 on 18.01.2012, 20:05, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Bullet Integration
PostPosted: 18.01.2012, 07:52 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Normally only the Horde .so/.dll should be linked against bullet. So linking the samples against bullet shouldn't be needed unless they are using some bullet methods or types directly.


Top
 Profile  
Reply with quote  
PostPosted: 18.01.2012, 20:04 
Offline

Joined: 17.01.2012, 04:56
Posts: 4
Yep that did the trick. Thanks. I don't know how i missed the: HORDE3D_EXTENSION_LIBS in cmake.
Thanks!


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 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:  
cron
Powered by phpBB® Forum Software © phpBB Group