HI, don’t know what’s wrong on your end. osg starts the dylib loading dance because it can’t resolve all loaders/extensions. Here’s my configuration which loads osgt w/o problems:
USE_GRAPICSWINDOW_IMPLEMENTATION(IOS) USE_OSGPLUGIN(imageio) USE_OSGPLUGIN(rgb) USE_OSGPLUGIN(osg) USE_OSGPLUGIN(osg2) USE_OSGPLUGIN(freetype) USE_SERIALIZER_WRAPPER_LIBRARY(osg) USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation) USE_SERIALIZER_WRAPPER_LIBRARY(osgFX) USE_SERIALIZER_WRAPPER_LIBRARY(osgManipulator) USE_SERIALIZER_WRAPPER_LIBRARY(osgParticle) USE_SERIALIZER_WRAPPER_LIBRARY(osgSim) USE_SERIALIZER_WRAPPER_LIBRARY(osgText) USE_SERIALIZER_WRAPPER_LIBRARY(osgTerrain) USE_SERIALIZER_WRAPPER_LIBRARY(osgShadow) USE_SERIALIZER_WRAPPER_LIBRARY(osgVolume) HTH, Stephan Am 09.12.2013 um 11:16 schrieb Mike Krus <[email protected]>: > Hi > > I just tried with an .osgt file (cow.osgt) and it's still trying to do the > dylib plugin loading dance… > > > Mike > > > On 9 Dec 2013, at 07:52, Stephan Maximilian Huber > <[email protected]> wrote: > >> Hi, >> >> any chance you are opening osg-files stored with the deprecated format? >> (Usually *.osg). The new serializer handle files with the extension osgt, >> osgb and osgx. >> >> To support the deprecated osg-file-format have a look into the source of >> osgstaticviewer. >> >> cheers, >> >> Stephan >> Am 08.12.2013 um 18:18 schrieb Mike Krus <[email protected]>: >> >>> Hi >>> >>> have OSG statically built for iOS but for some reason it's still trying to >>> use dylibs when opening .osg files? >>> >>> I've added the correct macros (I think): >>> >>> USE_OSGPLUGIN(osg) >>> USE_SERIALIZER_WRAPPER_LIBRARY(osg) >>> >>> but I get the errors below. >>> >>> >>> any ideas? cheers, >>> >>> >>> Mike >>> >>> >>> FindFileInPath() : trying >>> /private/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/glider.osg >>> ... >>> FindFileInPath() : USING >>> /private/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/glider.osg >>> itr='/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/PlugIns' >>> FindFileInPath() : trying >>> /var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/PlugIns/osgPlugins-3.2.0/osgdb_osg.so >>> ... >>> itr='/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/Library/Application >>> Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying >>> /var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/Library/Application >>> Support/OpenSceneGraph/PlugIns/osgPlugins-3.2.0/osgdb_osg.so ... >>> itr='/Library/Application Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying /Library/Application >>> Support/OpenSceneGraph/PlugIns/osgPlugins-3.2.0/osgdb_osg.so ... >>> itr='/Network/Library/Application Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying /Network/Library/Application >>> Support/OpenSceneGraph/PlugIns/osgPlugins-3.2.0/osgdb_osg.so ... >>> itr='/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/PlugIns' >>> FindFileInPath() : trying >>> /var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/osgText.app/PlugIns/osgdb_osg.so >>> ... >>> itr='/var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/Library/Application >>> Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying >>> /var/mobile/Applications/D186F562-109C-4D92-9CD6-777C1256E566/Library/Application >>> Support/OpenSceneGraph/PlugIns/osgdb_osg.so ... >>> itr='/Library/Application Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying /Library/Application >>> Support/OpenSceneGraph/PlugIns/osgdb_osg.so ... >>> itr='/Network/Library/Application Support/OpenSceneGraph/PlugIns' >>> FindFileInPath() : trying /Network/Library/Application >>> Support/OpenSceneGraph/PlugIns/osgdb_osg.so ... >>> Warning: dynamic library 'osgPlugins-3.2.0/osgdb_osg.so' does not exist (or >>> isn't readable): >>> dlopen(osgPlugins-3.2.0/osgdb_osg.so, 9): image not found >>> DynamicLibrary::failed loading "osgPlugins-3.2.0/osgdb_osg.so" >>> No data loaded >>> _______________________________________________ >>> osg-users mailing list >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

