Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Got some problem build ppsspp
08-02-2013, 05:19 AM (This post was last modified: 08-02-2013 09:46 PM by cyclonmaster.)
Post: #16
RE: Got some problem build ppsspp
Now I got free time to play around with the PPSSPP source. I had prepared Android Development Tools
(SDK "adt-bundle-windows-x86" and NDK "android-ndk-r8e")

Grab the source code using git bash:
Quote:cyclonmaster@AQEELZHARIF /c
$ git clone git://github.com/hrydgard/ppsspp.git && cd ppsspp
Cloning into 'ppsspp'...
remote: Counting objects: 38184, done.
remote: Compressing objects: 100% (13254/13254), done.
remote: Total 38184 (delta 29625), reused 33138 (delta 24838)
Receiving objects: 100% (38184/38184), 31.78 MiB | 95.00 KiB/s, done.
Resolving deltas: 100% (29625/29625), done.

cyclonmaster@AQEELZHARIF /c/ppsspp (master)
$ git submodule update -i
Submodule 'ffmpeg' (https://github.com/hrydgard/ppsspp-ffmpeg.git) registered fo
r path 'ffmpeg'
Submodule 'lang' (https://github.com/hrydgard/ppsspp-lang.git) registered for pa
th 'lang'
Submodule 'native' (https://github.com/hrydgard/native.git) registered for path
'native'
Submodule 'pspautotests' (https://github.com/hrydgard/pspautotests.git) register
ed for path 'pspautotests'
Cloning into 'ffmpeg'...
remote: Counting objects: 5054, done.
remote: Compressing objects: 100% (3114/3114), done.
remote: Total 5054 (delta 1914), reused 4926 (delta 1793)R 99%
(5004/
Receiving objects: 100% (5054/5054), 123.17 MiB | 32.00 KiB/s, done.
Resolving deltas: 100% (1914/1914), done.
Submodule path 'ffmpeg': checked out '2a1acf86036e3ff159eca161b87c99a7048f6f95'
Cloning into 'lang'...
remote: Counting objects: 901, done.
remote: Compressing objects: 100% (482/482), done.
remote: Total 901 (delta 449), reuseRd 863 (deleceiving objectsta 417): 91% (82
0/901), 220.00 Ki
Receiving objects: 100% (901/901), 287.26 KiB | 38.00 KiB/s, done.
Resolving deltas: 100% (449/449), done.
Submodule path 'lang': checked out '718470d56aa6bc1ad656b3cf765d37c09e0c877c'
Cloning into 'native'...
remote: Counting objects: 4392, done.
remote: Compressing objects: 100% (2026/2026), done.
remote: Total 4392 (delta 2314), reused 4293 (delta 2221)
Receiving objects: 100% (4392/4392), 2.34 MiB | 71.00 KiB/s, done.
Resolving deltas: 100% (2314/2314), done.
Submodule path 'native': checked out '9ae2e857f8590af93a303301b7fb1174189bee95'
Cloning into 'pspautotests'...
remote: Counting objects: 4312, done.
remote: Compressing objects: 100% (1698/1698), done.
remote: Total 4312 (delta 2621), reused 4198 (delta 2516)
Receiving objects: 100% (4312/4312), 27.23 MiB | 57.00 KiB/s, done.
Resolving deltas: 100% (2621/2621), done.
Submodule path 'pspautotests': checked out '8b0c30efe52e0c799a99a632e5e743a56375
d3ec'

cyclonmaster@AQEELZHARIF /c/ppsspp (master)
$

Attached is what API ready. Let me know which part is needed and missing.
   

From SDK, File>Import>Android>Existing Android Code...>Browse to folder ppsspp downloaded earlier through github, untick "copy projects into workspace"
This is in my SDK workspace:
   

This is my ppsspp properties:
   

Execute Project>Clean>Clean all project
Hit Run or Ctrl+F11

Build is success with 5 warnings as below:
   

I get "ppsspp.apk" in ..ppsspp\android\bin with the size 2.18MB.

It's so small? I suppose it should be in 8MB. When install on my phone, it get force close. Any idea?
Thanks.

EDIT:
Figured it out now. Need to update my cygwin from 1.5 to 1.7.x
Compile NDK part using windows commands ab.cmd or through cygwin shell with the NDK path need to be configured first.
Now I get full apk total size 8MB
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: