Hi all,

While not new to OSG, I am new to its port to Android. I've read all the 
current OSG pages out there and have gone through cmake followed by make and 
they completed with no errors. Specifically, using NDK v6b on Windows XP and 
Cygwin, my cmake command line within Cygwin for a GLES1 build is:

cmake . -DOSG_BUILD_PLATFORM_ANDROID=ON 
-DANDROID_NDK=/cygdrive/d/Android/android-ndk-r6b -DDYNAMIC_OPENTHREADS=OFF 
-DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF 
-DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF 
-DOSG_GL_LIBRARY_STATIC=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF 
-DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON 
-DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON 
-DCMAKE_INSTALL_PREFIX=/cygdrive/d/Android/Code/OSG_Project

There were no noted errors so I immediately followed this with a simple:

make

which incorporated the NDK. That too executed and returned no error listings 
and then I executed a:

make install

This resulted with, in the identified install directory (OSG_Project), three 
new folders (include, lib, and obj)

All references indentify the generated libraries should be libname.so files. 
However, what I have is within the lib folder are .pc files and within the obj 
folder are libname.a files.

The question is:
Is the build complete/successful and if so, what generated OSG files do I use 
in my Android project?

Thank you!

Cheers,
Tom

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





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

Reply via email to