Compile under Ubuntu
|
11-12-2012, 10:55 AM
Post: #1
|
|||
|
|||
Compile under Ubuntu
Hey everyone, i tried to compile it under Ubuntu, after setting up everything i loaded the project into eclipse.
i fixed some errors, but dunno how to handle them: Description Location Type Resource Path NativeActivity cannot be resolved to a type line 5 Java Problem PpssppActivity.java /org.ppsspp.ppsspp.PpssppActivity/src/org/ppsspp/ppsspp The import com.henrikrydgard cannot be resolved line 3 Java Problem PpssppActivity.java /org.ppsspp.ppsspp.PpssppActivity/src/org/ppsspp/ppsspp would be nice if someone can help me |
|||
11-12-2012, 06:13 PM
Post: #2
|
|||
|
|||
RE: Compile under Ubuntu
Make sure to sync the native submodule as well, then add that project too to eclipse. Then set it to be a library and make sure there's a library dependency between them in the project android settings.
Also, you first have to build the native code of course using the NDK. ./ab.sh in /android should take care of that. |
|||
11-13-2012, 07:03 AM
Post: #3
|
|||
|
|||
RE: Compile under Ubuntu
hey thanks for replay,
i have the following problem i cant set the $NDK variable -.- my ndk is located at: /usr/local/android-ndk-r8b so i set: PHP Code: export NDK=/usr/local/android-ndk-r8b PHP Code: now i type: sh ab.sh PHP Code: echo $NDK but i have set it to /usr/local/android-ndk-r8b thats strange do i have forget something? i start to think that now the ab.sh wants to load the files from /ppsspp/android/usr/local/...... |
|||
« Next Oldest | Next Newest »
|