Wintermute Engine > WME Lite

Create .apk from precompiled sources in windows Help please....

(1/2) > >>

fern:
Hi, sorry for my English, I use google translator.
I follow the instructions listed at http://res.dead-code.org/doku.php/wmelite:building, but I still can't create a .apk file.
I have installed:
android-ndk-r10e
android-ndk-r12b
Java build 1.8.0_211-b12

Path in windows set for ndk-build

Cloned Repository https://bitbucket.org/MnemonicWME/wmelite/src/default/ to D:

when you start NDK-build dosprompt writes me an error:
PS D: documents wmelite android_sdl_mixer> ndk-build
Android NDK: ERROR: jn / src / Android.mk: freetype: LOCAL_SRC_FILES
Android NDK: Check that jni / src /../../../ prebuilt / android / armeabi / libfreetype.a
C: / android-ndk-r12b / build //../ build / core / prebuilt-library.mk: 45: *** Android NDK: Aborting. Stop.

What am I doing wrong? Could you give me an advice please?

Czech version:

postupuji podle instrukcí, které jsou uvedeny na http://res.dead-code.org/doku.php/wmelite:building, ale stále se mi nedaří vytvořit soubor.apk.
mám nainstalován:
android-ndk-r10e
android-ndk-r12b
Java build 1.8.0_211-b12

Cestu ve windows nastavenou pro ndk-build

Klonované repository https://bitbucket.org/MnemonicWME/wmelite/src/default/ do D:\dokumenty\wmelite

při spuštění ndk-build mi píše dosprompt chybu:
PS D:\dokumenty\wmelite\android_sdl_mixer> ndk-build
Android NDK: ERROR:jni/src/Android.mk:freetype: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/src/../../../prebuilt/android/armeabi/libfreetype.a exists  or that its path is correct
C:/android-ndk-r12b/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

Co dělám špatně? Můžete mi prosím poradit?

Lazov:
Hi.
I use another repository, it works.
https://bitbucket.org/hcdaniel/wmelite-dependencies-for-linux-and-android/ - dependencies
https://bitbucket.org/hcdaniel/wmelite-rapaki-edition/ - wmelite
I build libraries on Linux. And the apk file on Windows. But you can build everything on Windows.
To build, I used the same instruction.

fern:
Hi, thank you for the new repository. Unfortunately the problem is still the same. I'm definitely doing something wrong :-(

I edited the files:
AndroidManifest.xml
org / example / yourapppackagename / YourGameName.java (to my names)
res / values / strings.xml
org / deadcode / wmelite / WMELiteFunctions.java
I created assets / files / data.png in the folder android_sdl_mixer

I ran in WindowsPowerShell NDK-build in folder android_sdl_mixer

I got an error message again
PS D: documents wmelite-rapaki android_sdl_mixer> ndk-build
Android NDK: ERROR: jn / src / Android.mk: freetype: LOCAL_SRC_FILES
Android NDK: Check that jni / src /../../../ prebuilt / android / armeabi / libfreetype.a
C: / android-ndk-r12b / build //../ build / core / prebuilt-library.mk: 45: *** Android NDK: Aborting. Stop.
PS D: documents wmelite-rapaki android_sdl_mixer>

Do I have to take other steps?

Lazov:
Judging by the error, the compiler cannot find the file "src /../../../ prebuilt / android / armeabi / libfreetype.a"
You may have missed this step:

--- Quote ---In the dependencies/ directory, sequentially enter the directories "FreeImage3154", "libfreetype-android" and "SDL". In each of them, call the build.sh script.
--- End quote ---

I can give you a project with already compiled libraries.

fern:
hello, thank you for your help. when I tried to run build.sh in FreeImage3154 "," libfreetype-android "showed me error

PS D:\dokumenty\wmeprojects\dependencies-for\dependencies\freeimage3154> ndk-build
[armeabi] Compile++ thumb: freeimage <= BitmapAccess.cpp
jni/./Source/FreeImage/BitmapAccess.cpp:36:23: fatal error: FreeImage.h: No such file or directory
 #include "FreeImage.h"
compilation terminated.
make: *** [obj/local/armeabi/objs/freeimage/./Source/FreeImage/BitmapAccess.o] Error 1


"SDL" went right

I would like to learn to run it myself, but if you send the finished files, it will be great.

Navigation

[0] Message Index

[#] Next page

Go to full version