Hi Alessandro, Am 28.01.11 18:31, schrieb Alessandro Terenzi:
> but I was still getting linking errors. The linker complied because it could > not find both the Cocoa and OpenGL frameworks (note: I wrote OpenGL not > OpenGLES, even though I checked only the GLES1 option in CMake). So I tried > to remove them from the Other Linker Flags, but I was getting other errors > because of references not found by imageio (but in CMake it was set > quicktime not imageio), so I also removed imageio from the linker's flags. Quicktime is not supported for IOS, please use only imageio. It's a known problem, that the xcode-project built by cmake for the SimplevieweriPhone-example is not working right out of the box. You'll have to add the CoreGraphics-framework for the imageio-plugin. > After all the above steps, I managed to build the application, but it > crashes while it is starting, in the console I get: > > Program received signal: “EXC_BAD_ACCESS”. > > warning: Could not open fork matching current architecture for OSO archive > "/Users/alex/Desktop/Build/3rdParty-iOS/lib/libFreeType_iphone_universal.a" > > warning: Could not open OSO file > /Users/alex/Desktop/Build/3rdParty-iOS/lib/libFreeType_iphone_universal.a(ftinit.o) > to scan for pubtypes for objfile > /Users/alex/Desktop/Build/OpenSceneGraph-2.9.11-build-iOS/bin/osgViewerIPhone.app/osgViewerIPhone > ...(and many copies of this last warning)... Sorry, can't comment that much about the freetype-issue. Try the simpleviewer-app without the freetype-plugin and -lib as a first step. > The last thing I tried was to start from scratch but set CMake to use > imageio and not quicktime but same runtime error (this solved some linking > problems described above, but of course not the runtime crash). > > Am I suppose to use another version of freetype? AFAIK no, it's a universal-lib (i386 + arm) and had worked in the past. cheers, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org