[osg-users] OpenGL ES-2.0, OpenGL ES-1.1 and OpenGL 3.x support now ready for testing :-)

Thomas Hogarth thomas.hogarth at googlemail.com
Sat Nov 21 20:31:21 PST 2009


Hi Guys

Found the solution in osgStatic viewer, just needed USE_OSGPLUGIN(name).
very handy :)

I'll try get osg/ive and an image plugin up and running and report the
results

Cheers
Tom

2009/11/22 Thomas Hogarth <thomas.hogarth at googlemail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091122/a49c89e5/attachment.htm>


More information about the osg-users mailing list