Hi Stephan, finally I solved the problem, thank you for your support! It is that when the xcode project is created the SDK version specified is wrong.
I Used your cmake options you sent me in the previous mail, but the compilation did fail again, so I checked for the xcode project options and I observed that the version of the SDK was 3.2 and not 4.3 ! And the Supported Platform was "iphonesimulator iphoneos", but for the iphoneos i have not the 3.2 SDK, this is probably why the compilation fails on my environment and not yours. So I change that options and the compilation success. I remember that i changed to the correct SDK version by cmake interface at the first, and i check for that option again but it was wrong: it is SDK 3.2 and not 4.3. I observed that there is something strange in the cmake interface, because when I changed to the correct SDK version 4.3 and press "c" to configure, the cmake ignore my settings and force to 3.2 SDK again... i don't know why... In any case, now i compiled osg 2.9.16 and now i'm going to test my application. Thank you very much! Massimo > Hi Massimo, > > Am 10.06.11 17:05, schrieb [email protected]: > >> About the ReaderWriterImageIO_IOS, it seems that the ImageIO framework >> is >> not found or some path is wrong... can I try to modify the >> CMakeLists.txt >> in the imageio plugin in order to specify where is the framework and to >> force to compile it? >> >> I tried to put the ImageIO framework in to the Resource group of the >> OpenSceneGraph Xcode project, but the compilation fails again. >> >> I should specify that I'm compiling for iOS simulator, with OpenGL ES 1 >> enabled, iPhone SDK 4.3. > > I updated trunk, created a fresh xcode-project files for the simulator > via cmake and build successfully the imageio-plugin. There's no need for > referencing the imageio-framework, as the plugin is linked statically - > that means, you'll have to add the imageio-framework to your app which > is using the imageio-plugin. > > for completeness sake, here's my cmake-command: > > cd OSG_ROOT > mkdir osg_build > cd osg_build > cmake -G Xcode \ > -D OSG_BUILD_PLATFORM_IPHONE_SIMULATOR:BOOL=ON \ > -D BUILD_OSG_APPLICATIONS:BOOL=OFF \ > -D OSG_BUILD_FRAMEWORKS:BOOL=OFF \ > -D OSG_WINDOWING_SYSTEM:STRING=IOS \ > -D CMAKE_OSX_ARCHITECTURES:STRING=i386 \ > -D OSG_GL1_AVAILABLE:BOOL=OFF \ > -D OSG_GL2_AVAILABLE:BOOL=OFF \ > -D OSG_GLES1_AVAILABLE:BOOL=ON \ > -D OSG_GL_DISPLAYLISTS_AVAILABLE:BOOL=OFF \ > -D OSG_GL_FIXED_FUNCTION_AVAILABLE:BOOL=ON \ > -D OSG_GL_LIBRARY_STATIC:BOOL=OFF \ > -D OSG_GL_MATRICES_AVAILABLE:BOOL=ON \ > -D OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE:BOOL=ON \ > -D OSG_GL_VERTEX_FUNCS_AVAILABLE:BOOL=OFF \ > -D DYNAMIC_OPENSCENEGRAPH:BOOL=OFF \ > -D DYNAMIC_OPENTHREADS:BOOL=OFF \ > .. > > Then I opened the xcode project and set the SDK to iphonesimulator and > the architecture to i386. (You can set these vars via cmake, but I was > impatient) > > then I compiled the ios-plugin, and it worked out of the box. I am using > the 4.3 SDK and Xcode 3.2.x > > cheers, > Stephan > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ---------------------------------------------------------------------- ATTENZIONE: le informazioni contenute in questo messaggio sono da considerarsi confidenziali ed il loro utilizzo e' riservato unicamente al destinatario sopra indicato. Chi dovesse ricevere questo messaggio per errore e' tenuto ad informare il mittente ed a rimuoverlo definitivamente da ogni supporto elettronico o cartaceo. WARNING: This message contains confidential and/or proprietary information which may be subject to privilege or immunity and which is intended for use of its addressee only. Should you receive this message in error, you are kindly requested to inform the sender and to definitively remove it from any paper or electronic format. ---------------------------------------------------------------------- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

