Wow xD why did you redefine all that stuff? Just execute a regular build of OSG and latter an installation an it will copy al the files and libraries to the installation directory! xD It's defined to use the libraries if he founds them at that point.
Now about using on your final build *USE_OSGPLUGIN*(name) if you look the osdb_plugins you'll see that they all have the same name except for the latest part, that's the real name you have to use in the macro. BUT! that's not all, you also need to include the plugin and the library dependece in the Android.mk of your program.following the dependance (first library second plugin that uses that library) My usual way of writting it's on the bottom of the list add the third party stuff and the first in the list the plugin. If you look well the -losg you'll figure out. Dependencies are from bottom to top And once more time I really DISAGREE with installing osg for Android in the usr directory, there's a -DINSTALL_PREFIX (or something like that) that can be used to define your destination directory. (I have two independant builds for example in $HOME/osgAndroidGLES1 and $HOME/osgAndroidGLES2) 2011/8/24 anurag mairal <[email protected]> > 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*(n >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

