Quantcast
Channel: Dolphin, the GameCube and Wii emulator - Forums - All Forums
Viewing all articles
Browse latest Browse all 26094

Compiling Dolphin for Android

$
0
0
Recently I have been trying to compile Dolphin for Android from source, because there is an issue I would like to try to fix and I might know how. However, I cannot test my code because I can NEVER get Dolphin to compile correctly! I can compile the Android UI part with Eclipse and it works flawlessly, but I cannot compile libmain.so correctly. I am running Ubuntu 13.04 and have all the necessary commands installed. When compiling, I use these commands:

mkdir -p build
cd build
ANDROID_NDK="/home/sean/android-ndk-r9d" cmake -DANDROID=True -DANDROID_NATIVE_API_LEVEL=android-14 -DCMAKE_TOOLCHAIN_FILE=../Source/Android/android.toolchain.cmake ..
make

The compilation is successful, and I get a libmain.so at about 5MB. However, when I build the APK and run it on my device, selecting a game loads the controls but does not load the game. It also cannot write to the ini files at all, only read them. If I substitute my libmain.so with one extracted from a buildbot APK everything runs flawlessly. What am I doing wrong? I feel so dumb, I've never had trouble compiling anything before, and I've build the entire Android system from source!

Viewing all articles
Browse latest Browse all 26094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>