It is currently Sat Jul 21, 2018 6:20 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [Solved] How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 7:00 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
I am able to execute a program using OGRE in the IDE (InitEngine3D() returns "1"), but i am not able to execute the compiled program on a standalone directory with the engine3d.dylib inside (InitEngine3D() returns "0").
This is on MacOS only, it works well on Windows.
I have all tried : putting the dylib in the executable directory, in the app package, specifying a relative path in InitEngine3D(), specifying an absolute path in InitEngine3D(), ...
Do you know how to do ?

_________________
Niffo


Last edited by Niffo on Thu Jan 04, 2018 9:18 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 8:30 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 1171
perhaps this tip by Danilo will work viewtopic.php?p=448421#p448421


Top
 Profile  
Reply with quote  
 Post subject: Re: How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 8:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
Thank you for your answer, but i don't think my problem has something to do with SDL :-/

_________________
Niffo


Top
 Profile  
Reply with quote  
 Post subject: Re: How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 9:04 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 1171
I think you missed the point, the technique should work in your case also, just substitute SDL for OGRE


Top
 Profile  
Reply with quote  
 Post subject: Re: How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 9:06 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
When i say "using OGRE", i want to say "using integrated PB 3D fonctions" ;)

_________________
Niffo


Top
 Profile  
Reply with quote  
 Post subject: Re: How to distribute the engine3d.dylib ?
PostPosted: Thu Jan 04, 2018 9:17 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
OK, i found the problem. All is my fault, i was using a 32 bits engine3d.dylib on a 64bits executable ! Sorry for the inconvenience, you can delete this thread.

_________________
Niffo


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye