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

