Hi,
Thanks for providing such useful information. Here i got significant
information, my cell phone has same problem but here i get the solution for it.
Thank you!
Cheers,
alisterbadcoke
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58114#5811
Hi Peter,
We use OSG as a static library, included in libosgNativeLib.so. This is the
library that the VM loads when the application is started (a dynamic
library). So the static part refers to the OpenSceneGraph libraries.
Cheers.
2013/7/25 Peter Wraae Marino
> Hi Jordi,
>
> a little follow
Hi Jordi,
a little follow up:
this is what it does when it works:
C:\Android\OpenSceneGraph-3.2\examples\osgAndroidExampleGLES2\jni>ndk-build
"Compile++ thumb : osgNativeLib <= osgNativeLib.cpp
"Compile++ thumb : osgNativeLib <= OsgMainApp.cpp
"Compile++ thumb : osgNativeLib <= OsgAndroidNotifyH
Hi Jordi,
that worked!
thanks it only needs to be more generic and perhaps committed to the
repository.. it seems that everybody gets stuck here.
thanks,
Peter
Jordi Torres wrote:
> Try this:
>
> LOCAL_LDLIBS := -llog -lGLESv2 -ldl -lz
> /path-to-your-android-ndk-r8e/sources/cxx-stl
Try this:
LOCAL_LDLIBS:= -llog -lGLESv2 -ldl -lz
/path-to-your-android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/libgnustl_static.a
I think it should be enough.
2013/7/25 Peter Wraae Marino
> sure here it is... but like i mentioned i tried many different
> combinations al
sure here it is... but like i mentioned i tried many different combinations
also the one you described.
Code:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE:= osgNativeLib
### Main Install dir
OSG_ANDROID_DIR := C:\Android\OpenSceneGraph-3.2\osginstall
LIBDIR
Hi Peter,
Can you post your Android.mk file. For me it was enough to add
gnustl-static to the LOCAL_LDFLAGS and remove it from LOCAL_LDLIBS.
Cheers.
2013/7/25 Peter Wraae Marino
> Hi,
>
> This has been a long process trying to get android to work with
> OpenSceneGraph and I'm still not there.
Hi,
This has been a long process trying to get android to work with OpenSceneGraph
and I'm still not there.
Some Info:
Windows 7
OpenSceneGraph 3.2
Where I'm at:
OpenSceneGraph 3.2 compiled/links ok.
Now I'm trying to run ndk-make in the JNI directory for the
osgAndroidExampleGLES2 and it
8 matches
Mail list logo