psychopath
22-05-2009 14:31:03
I posted as a secondary-question to a thread on the main forums, but I figure it might get more attention here.
I've got the latest Mac source compiling, with the change suggested here in order to get the plugin to load. However, in order to actually use the plugin, I've found I need to include OgrePCZSceneManager.h (as in the test app...which doesn't even get compiled with the other samples on the mac). This I found, required changing most of the header files as they include Ogre headers as if they are in the same project (not as if Ogre is in a framework). So I removed these includes, and #included <Ogre/Ogre.h> before the PCZ header. This compiles, but I then get a link error, regarding PCZSceneManager::init() not being found. You can't link a bundle on the mac though - it has to be dynamically loaded. So, what do you do in order to load this plugin, and "link" it properly on the mac?
Thanks!
I've got the latest Mac source compiling, with the change suggested here in order to get the plugin to load. However, in order to actually use the plugin, I've found I need to include OgrePCZSceneManager.h (as in the test app...which doesn't even get compiled with the other samples on the mac). This I found, required changing most of the header files as they include Ogre headers as if they are in the same project (not as if Ogre is in a framework). So I removed these includes, and #included <Ogre/Ogre.h> before the PCZ header. This compiles, but I then get a link error, regarding PCZSceneManager::init() not being found. You can't link a bundle on the mac though - it has to be dynamically loaded. So, what do you do in order to load this plugin, and "link" it properly on the mac?
Thanks!