Hi Robert, Eric Firstly thanks for the info about the IPhone port Eric, gave me a massive lead. I've had a bit of time and now have OpenSceneGraph rendering using osgUtil::SceneView on IPhone. So far there's been a very limited number of code changes, mainly defines.
I've now started on the route of getting osgDB working so I can test something more substantial then a quad. Using Erics advise about the static linking I followed this infohttp://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/Win32StaticLink. All seems to make sense, it basically says that if we static link to the plugin library then some how we still need to initialize the plugins RegisterReaderWriterProxy variable so that the plugin is added to the osgDB::Registry. So I picked osgdb_obj as a first test as it only depends on OSG libs. The lib has built fine and using the nm command in terminal I can see the mangled symbol name is __ZL23g_proxy_ReaderWriterOBJ But now I'm stuck, I need to force XCode to link this variable. In the windows tutorial they use a linker option /include:symbol, for XCode (gcc) I have found '-u symbol' which does cause it to try and link to 'symbol' but always returns undefined and causes an error. Does anybody know how to achieve this in XCode? Once this is working I think it is plain sailing. Cheers Tom
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org