Hi,

you'll have to add all needed libs to your ios-app. Most notably
libOpenThreads, libosg, libosgGA, libosgDB, libosgUtil, libosgViewer.

_graphicsWindow_IOS should be part of the osgViewer-lib.

Sorry, getting osg compiling running on ios is a bit rough. If you have
a working set of libs and includes the experience is getting better :-)

There's a helper script to compile all libs for debug/release and
device/simulator and combine them to universal libs at
https://github.com/stmh/osg/tree/iphone/PlatformSpecifics/iOS This
script will create two xcode-project-files (simulator / device), compile
all libs + plugins and bundle the libs. I think I submitted it to
osg.submission, but it's not merged yet to osg-trunk.

cheers,

Stephan
Am 29.11.12 13:05, schrieb Koduri Lakshmi:
> Hi,
> 
> I added "libOpenThreads.a" file to "BuildPhases->Link Binary With Libraries". 
> Then I am getting the following error
> 
> 
> Code:
> Command 
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang++ 
> failed with exit code 1
> 
> 
> 
> I am getting the same error for Debug/Release builds. I created both 
> Debut/Release .a files to OSG. I got these .a files from "BUILD->lib" folder.
> 
> Can you please any one help how to solve this linker error.
> 
> ... 
> 
> 
> Thank you!
> 
> Cheers,
> Koduri
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=51289#51289
> 
> 
> 
> 
> _______________________________________________
> 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

Reply via email to