Hi Rafa,

Thank you for the nice help.

I did as you said. But still textures are not displayed.

These are the things what I did

1) I added  "-losgdb_jpeg" under "LOCAL_LDFLAGS" in Android.mk file
2) I added "ljpeg" under "LOCAL_LDLIBS" in Android.mk file
3) I added "USE_OSGPLUGIN(jpeg)" to "OsgMainApp.hpp" file.
4) The JPEG is in Image folder only. The Image directory is in my mobile SD 
card (/mnt/sdcard/OSG/images).
5) The "libosgdb_jpeg.a" file is located in both "install/obj/local/armeabi" 
and "/install/obj/local/armeabi-v7a" directories.

JPEG library is already installed in my system. When I gave "locate jpeg.so" 
then I got the following 


Code:
/usr/lib/ImageMagick-6.6.9/modules-Q16/coders/jpeg.so
/usr/lib/i386-linux-gnu/libjpeg.so.8
/usr/lib/i386-linux-gnu/libjpeg.so.8.0.2
/usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstjpeg.so
/usr/lib/i386-linux-gnu/qt4/plugins/imageformats/libqjpeg.so
/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/libjpeg.so
/usr/lib/strigi/strigiea_jpeg.so



I exported the path of the libjpeg.so.8 as "export 
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/i386-linux-gnu"
"

Can you please help me why the texture are not loading?






... 

Thank you!

Cheers,
Koduri

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49910#49910




_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to