Thanks Stephan, build fix merged and submitted to svn/trunk.
On Fri, Jun 10, 2011 at 4:20 PM, Stephan Maximilian Huber <[email protected]> wrote: > Hi Robert, > > attached you'll find a small compile-fix for ImageUtils.cpp and ios-builds. > > cheers, > Stephan > > > -------- Original-Nachricht -------- > Betreff: Re: [osg-users] error compiling 2.9.16 for iOS > Datum: Fri, 10 Jun 2011 16:28:31 +0200 > Von: Stephan Maximilian Huber <[email protected]> > Antwort an: OpenSceneGraph Users <[email protected]> > An: OpenSceneGraph Users <[email protected]> > > Hi, > > can you test the attached ImageUtils.cpp? OpenGL ES doesn't know > GL_INTENSITY, so I added an include to osg/Texture, as there are some > defines... > > the ReaderWriterImageIO_IOS.cpp compiles fine on my end, don't know > what's wrong. > > cheers, > Stephan > > > Am 10.06.11 16:06, schrieb [email protected]: >> Hi Robert, >> i'm trying to compile the 2.9.16 version for iOS, at the moment only >> for the simulator (checked out this morning) but I encountering some >> errors about GL_INENSITY: >> >> /blah/blah/OpenSceneGraph/src/osg/ImageUtils.cpp:473: error: >> ‘GL_INTENSITY’ was not declared in this scope >> /blah/blah/OpenSceneGraph/src/osg/ImageUtils.cpp: error: Semantic >> Issue: Use of undeclared identifier 'GL_INTENSITY' >> >> and about the ReaderWriterImageIO_IOS.cpp: >> >> /blah/blah/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:16:34: >> error: ImageIO/CGImageSource.h: No such file or directory >> >> /blah/blah/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:90: >> error: ‘CGImageSourceRef’ was not declared in this scope >> >> /blah/blah/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:90: >> error: expected `;' before ‘source_ref’ >> >> /blah/blah/Develop/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:116: >> error: ‘source_ref’ was not declared in this scope >> >> /blah/blah/Develop/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:116: >> error: ‘CGImageSourceCreateWithDataProvider’ was not declared in this >> scope >> >> /blah/blah/Develop/OpenSceneGraph/src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp:126: >> error: ‘CGImageSourceCreateImageAtIndex’ was not declared in this >> scope >> >> What's wrong? >> >> Thank you in advance! >> Massimo >> >> ---------------------------------------------------------------------- >> 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 > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
