I usually install it in a separate directory because there's no point in
installing it into system. It would be trouble with the standard linux
installation on your system. I usually build it out of the OSG svn
directory, i don't like mix svn and not svn things. And, of course last time
I tested everything (about two weeks) all was running in thrunk. About
linking, one again that's just an error of not finding the librarie. In that
case is the dds plugin.

It should not be any trouble if you set the path on the Android.mk
(osgAndroidExampleGLES*/jni)

Line:7 OSG_ANDROID_DIR := "type your install directory here"

Which SETS both LOCAL_L_INCLUDES and LOCAL_LDFLAGS variables according to
the the Target Architecture. And no, there are no other ways supplied. There
are other ways to compile with NDK but require scripting and bypassing the
usual ndk build.

2011/8/17 Luca Vezzadini <[email protected]>

>
> Jorge Izquierdo Ciges wrote:
> > ... About the other things probably is just that you didn't do a make
> install to create a directory with all the includes etc
>
> Hi,
> I also have some issues with the example, basically the same as Riccardo. I
> did run the make install on my OSG build and it went OK (everything was
> installed under  /usr/local/). But running the build command on that
> Android.mk still does not find the header files, unless I explicitly add an
> entry to the LOCAL_C_INCLUDES to add the standard osg/include tree. No idea
> why it works for you and not for us... A question: did you create your
> Android build in a separate folder (in my case under the OSG root) or did
> you do in source. mixing the new stuff with what comes out of SVN?
> Now on to the next issue: linker... I get this error:
>
> Code:
> ld.exe: cannot find -losgdb_dds
>
>
> Of course that lib as well as all the others are present in my build tree
> (and I indicated it correctly in the Android.mk file). Any idea what could
> cause these issue?
>
> Last but not least, is everybody using the ndk-build command to compile the
> example? Or is there another solution maybe going through CMake? I'd like to
> make sure that I do the things I'm supposed to...
> Thanks,
>
>   Luca
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42101#42101
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to