hi jorge,
 i am sorry if i am asking very basic question. I don't know how and where
to use these macros. i am not able to load .tff, .png file also on device.
one thing i understood from your pervious mail that i need to use these
macros.
The macro are: *USE_OSGPLUGIN*(name_plugin)
*USE_DOTOSGWRAPPER_LIBRARY*(name_deprecated)
*USE_SERIALIZER_WRAPPER_LIBRARY*(name_serializer)

I can see that in /usr/local/obj/local/armeabi all the libraries  i.e
libjpeg.a etc are there, but how to ;load it
at which part of my application i have to use these macros?

sorry if my question is too basic;
Please help,
Anurag

i  build plugins made these changes in cmake(through cmake-gui);
 few entries of my CMakeCache.txt are shown below.

//Path to a file.
CURL_DIR:PATH=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/3rdparty/curl/

//Path to a file.
CURL_INCLUDE_DIR:PATH=/usr/include

//on if curl is a static lib
CURL_IS_STATIC:BOOL=ON

//Path to a library.
CURL_LIBRARY:FILEPATH=/usr/lib/libcurl.so


//Path to a file.
FREETYPE_DIR:PATH=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/3rdparty/freetype/

//Path to a file.
FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/include/freetype2

//Path to a file.
FREETYPE_INCLUDE_DIR_ft2build:PATH=/usr/include

//Path to a library.
FREETYPE_LIBRARY:FILEPATH=/usr/lib/libfreetype.so

//Path to a file.
GDAL_DIR:PATH=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/3rdparty/gdal/

//Path to a file.
GDAL_INCLUDE_DIR:PATH=/usr/include/gdal

//Path to a library.
GDAL_LIBRARY:FILEPATH=/usr/lib/libgdal1.6.0.so

//Path to a file.
GIFLIB_INCLUDE_DIR:PATH=/usr/include

//Path to a library.
GIFLIB_LIBRARY:FILEPATH=/usr/lib/libgif.so


//Path to a file.
JPEG_INCLUDE_DIR:PATH=/usr/include

//Path to a library.
JPEG_LIBRARY:FILEPATH=/usr/lib/libjpeg.so


//Value Computed by CMake
OSG_PLUGINS_MASTER_BINARY_DIR:STATIC=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/build-source/src/osgPlugins

//Value Computed by CMake
OSG_PLUGINS_MASTER_SOURCE_DIR:STATIC=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/src/osgPlugins

//Set to ON to have OpenSceneGraph search the configured install
// directory for plugins.
OSG_PLUGIN_SEARCH_INSTALL_DIR_FOR_PLUGINS:BOOL=ON


//Path to a file.
PNG_INCLUDE_DIR:PATH=/home/anurag/Complete-build/OpenSceneGraph-3.0.0/3rdparty/libpng/

//Path to a library.
PNG_LIBRARY:FILEPATH=/usr/lib/libpng.so

//Path to a file.
PNG_PNG_INCLUDE_DIR:PATH=/usr/include


//Path to a file.
TIFF_INCLUDE_DIR:PATH=/usr/include

//Path to a library.
TIFF_LIBRARY:FILEPATH=/usr/lib/libtiff.so
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to