You also need to link libtiff previosly It's in the third party package,
I'll update the wiki today if it is up. The link is one of the board
messages.

2011/9/12 anurag mairal <mairal2...@gmail.com>

> hi Jorge,
> I got error while building nativelib in osgAndroidExampleGLES1.trying to
> link tiff plugin
> /OpenSceneGraph3.0.0/src/osgPlugins/tiff/ReaderWriterTiff.cpp:849:
> undefined reference to 'TIFFClientOpen'
> /OpenSceneGraph3.0.0/src/osgPlugins/tiff/ReaderWriterTiff.cpp:  undefined
> reference to 'TIFFSetField'
> /OpenSceneGraph3.0.0/src/osgPlugins/tiff/ReaderWriterTiff.cpp: undefined
> reference to 'TIFFWriteScanline'
> /OpenSceneGraph3.0.0/src/osgPlugins/tiff/ReaderWriterTiff.cpp: undefined
> reference to 'TIFFSetErrorhandler'
> /OpenSceneGraph3.0.0/src/osgPlugins/tiff/ReaderWriterTiff.cpp:undefined
> reference to 'TIFFClose'
> collect2:ld returned exit status. Error 1
>
> ========================================
> I updated Android.mk file
> added last line
> LOCAL_LDFLAGS:=-L $LIBDIR\
> -losgdb_dds \
> ......
> ......
> -losgdb_tiff \
> ----------------------------
> in osgMainApp.hpp file
> added
> USE_OSGPLUGIN(tiff)
> ======================================
> and tried to build osgNativelib
> am i missing something?
> Can you please help,
> Thanks
> Anurag
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to