Compile under Ubuntu - Printable Version

+- (
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Development (/forumdisplay.php?fid=3)
+--- Thread: Compile under Ubuntu (/showthread.php?tid=173)

Compile under Ubuntu - acocalypso - 11-12-2012 10:55 AM

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 /org.ppsspp.ppsspp.PpssppActivity/src/org/ppsspp/ppsspp
The import com.henrikrydgard cannot be resolved line 3 Java Problem /org.ppsspp.ppsspp.PpssppActivity/src/org/ppsspp/ppsspp

would be nice if someone can help me

RE: Compile under Ubuntu - Henrik - 11-12-2012 06:13 PM

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. ./ in /android should take care of that.

RE: Compile under Ubuntu - acocalypso - 11-13-2012 07:03 AM

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 typesh
: ./ab.shline 1: /usr/local/android-ndk-r8b/ndk-buildfile or directory not found 

PHP Code:
echo $NDK

/Dokumente/ppsspp/android$ echo $NDK
/usr/local/android-ndk-r8bfile or directory not found 

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 wants to load the files from /ppsspp/android/usr/local/......