For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

JniViewer sample project for android

Jeonghoon LEE's picture
Forums: 

I tried to run OCCT Android jniviewer project.

But i had a probleom about '.so' files.

when I call ndk-build command, the error occured.

I think that the .so files is needed for every library but I couldn't find it

do i need to make all .so files?(ex. Freetype, FreeImage, TKernal etc...)

please give me help

regards.

---error message---

C:\OpenCASCADE6.9.1-vc12-64\opencascade-6.9.1\samples\java\jniviewer>ndk-build
Android NDK: ERROR:jni/Android.mk:OcctTKernel: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that C:/OpenCASCADE6.9.1-vc12-64/opencascade-6.9.1/win64/vc12/lib/armeabi-v7a/libTKernel.so exists  or that its path is correct
C:/android-ndk-r11c-windows-x86_64/android-ndk-r11c/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

韩 家奇's picture

I am trying to do the example, too. In eclipse failed, the reason is same as yours. Maybe the platform leads to this. I have searched the forum and got this, http://www.opencascade.com/content/occ-android-howto .In the article, he works under Linux.