Hello Jean. We have not configured to use dynamic libraries right now.Mainly because the warnings on ndk documentation about using exceptions and rtti with dynamic. We think that it is possible, and the code of Cmake is made assuming one day we will integrate dynamic link of libraries. Rafa has tested in rd4 crystax and I myself tested (and working) into ndkR5b (the latest). The compilation time it's because the arm android compiler makes huge binaries until stripped.
We haven't tested on windows/cygwin. GLES 2 building builds and you can reach to a Blue Screen of viewer but: 1rst it keeps spamming a large quantity of messages about not supported things. 2nd if you try to display stats it just crashes with Sigsegv signal 11 and seems like using a Gles2 instruction like "glAtribVertex" sends the cp to 0x00000000 something that should not happen if libGLESv2.so is loaded as it seems by the logcat output. 2011/3/7 Jean-Sébastien Guay <[email protected]> > Hello Rafa, > > Great work, I look forward to trying it out! > > Just to make sure I have all information: > - You build with the stock NDK r5? > - You tested this on Linux, did you try Windows (with the Android-supported > cygwin-based toolchain)? > - The cmake command line you gave will find the android make / gcc etc. > automatically? Or do I have to set up my PATH and symlink arm-eabi-make, > arm-eabi-gcc etc to make, gcc etc. so that the CMake generated makefiles > find them first? > > > If all is correct you will have and static OSG inside: >> build_android_gles1/bin/ndk/local/armeabi. >> > > Did you try building shared libraries? In my (admittedly short) testing, > the application link time was very long (sometimes upwards of 45 seconds) > when linking to static OSG libs, building dynamic libs would improve the > iteration speed a lot (and from what I've read it should be possible). > > Thanks a lot for all your hard work! > > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [email protected] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
