Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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 typesh ab.sh
result
: ./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 ab.sh wants to load the files from /ppsspp/android/usr/local/......
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: