lubomyr / vice-2.4

Android port of Vice C64 emulator
Other
4 stars 0 forks source link

Trying to build it under MacOS #10

Open Grunewald17 opened 7 years ago

Grunewald17 commented 7 years ago

Im trying to build it with my Mac, but I get this error:

Android NDK: ERROR:jni/../jni/charset/Android.mk:charset: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/../jni/charset/lib/armeabi-v7a/libcharset.so exists or that its path is correct
/Applications/Android_NDK_r11c/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.

It seems that he can not find the "lib" folder in the mk:

LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).so

But I've created a symlink to the vice folder of the vice 2.4 sources

My Mac Path: PATH=/Applications/Android_NDK_r11c:/Applications/Android_SDK/tools:/Applications/Android_SDK/build-tools/23.0.3

So... what Im doing wrong?

pelya commented 7 years ago

It did not build iconv library. changeAppSettings.sh script should do that. Did you do git submodule update --init --recursive ?

On Sep 30, 2017 12:30 PM, "Grunewald17" notifications@github.com wrote:

Im trying to build it with my Mac, but I get this error:

Android NDK: ERROR:jni/../jni/charset/Android.mk:charset: LOCAL_SRC_FILES points to a missing file Android NDK: Check that jni/../jni/charset/lib/armeabi-v7a/libcharset.so exists or that its path is correct /Applications/Android_NDK_r11c/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.

It seems that he can not find the "lib" folder in the mk:

LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).so

But I've created a symlink to the vice folder of the vice 2.4 sources

So... what Im doing wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lubomyr/vice-2.4/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewMXKnCV29LG7DjGJTFJXEZ-uGf5Gks5sngahgaJpZM4PpgES .

Grunewald17 commented 7 years ago

Thanks for your reply.

Did you do git submodule update --init --recursive

Yes, but with no success.

Here is error I get if I start: changeAppSettings.sh

############ Copying app data files from project/jni/application/src/AndroidData to project/assets cp: the -H, -L, and -P options may not be specified with the -r option. Compiling prebuilt libraries cd iconv/src && \ ./build.sh && \ for ARCH in armeabi armeabi-v7a x86 arm64-v8a x86_64; do \ mkdir -p ../lib/$ARCH ../include ; \ cp -f $ARCH/libiconv.so $ARCH/libcharset.so ../lib/$ARCH/ ; \ cp -f $ARCH/include/.h ../include/ ; \ mkdir -p ../../icuuc/lib/$ARCH ../../icuuc/include/unicode ../../icuuc/include/layout ; \ cp -f $ARCH/libicu.a $ARCH/libharfbuzz.a ../../icuuc/lib/$ARCH/ ; \ cp -f $ARCH/include/unicode/.h ../../icuuc/include/unicode/ ; \ cp -f $ARCH/include/layout/.h ../../icuuc/include/layout/ ; \ cp -f $ARCH/include/icu-le-hb/layout/*.h ../../icuuc/include/layout/ ; \ done /bin/sh: ./build.sh: No such file or directory make: *** [iconv/lib/armeabi/libiconv.so] Error 127 Done ##########

Grunewald17 commented 7 years ago

No idea?

pelya commented 7 years ago

What does your directory project/jni/iconv/src looks like? It should have files build.sh and few .tar.gz source archives with libiconv and libicu inside. What happens if you run this build.sh manually?

On Mon, Oct 2, 2017 at 11:30 PM, Grunewald17 notifications@github.com wrote:

No idea?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lubomyr/vice-2.4/issues/10#issuecomment-333655745, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewC21ZqbZmGLH7MkTBAOZD4qQD99bks5soUfygaJpZM4PpgES .