Hi Stephan,

the errors about GL_INTENSITY are fixed with the new ImageUtils.cpp, thank
you very much!

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.

Thank you again,
Massimo


> 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-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

Reply via email to