Thanks again Stephan, I just tried using the latest tagged source code. I've set CMake's options as you've suggested and also:
1) set CMake to point to the iPhone's freetype lib/headers (is this necessary?) 2) changed the code signing identity in XCode (otherwise I get an error) 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. Finally I had to modify the Bundle Identifier because I was getting an error due to the character '_' that seems not to be a valid character for a bundle identifier name. 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)... 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? Alessandro
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org