Compile ppsspp source code

Source address:

ppsspp: https://github.com/hrydgard/ppsspp

Development environment:

eclipse 

GDR 

 

Start compiling:

1. Configure the NDK path in ppsspp-master\android\ab.cmd

 

 

xcopy ..\assets\flash0 assets\flash0\ /s /y <d.txt

xcopy ..\assets\lang assets\lang\ /s /y <d.txt

xcopy ..\assets\shaders assets\shaders\ /s /y <d.txt

copy ..\assets\langregion.ini assets\langregion.ini

copy ..\assets\compat.ini assets\compat.ini

copy ..\assets\Roboto-Condensed.ttf assets\Roboto-Condensed.ttf

copy ..\assets\*.png assets\

SET NDK=C:\AndroidNDK //********************Change to the corresponding NDK path

SET NDK_MODULE_PATH=..\ext;..\ext\native\ext

%NDK%/ndk-build -j9 %*

 

2. Start compiling 

 Run ab.cmd and you will find the following error, this is the lack of glslang

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

Solution: Download glslang source code, copy the downloaded code to ppsspp-master\ext\glslang

The glslang source address is https://github.com/hrydgard/glslang

 

 Continue to compile ab.cmd and return the following error, which is caused by the lack of ffmpeg

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

 

Solution: Download the ffmpeg source code, copy the android directory in the downloaded code to ppsspp-master\ffmpeg

The ffmpeg source address is https://github.com/hrydgard/ppsspp-ffmpeg

 

Continue to compile ab.cmd and report the following error, which is caused by the lack of armips

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

Solution: Download armips source code, copy the downloaded code to ppsspp-master\ext\glslang,
armips source code address is https://github.com/Kingcom/armips

 

 

The sequel compiles the ab.cmd command, and after waiting for a while, the compilation can be completed. The rendering is as follows:

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

  

 

2. Import ppsspp-master\android into eclipse to run the project

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

 

The running effect is as follows:

Compile and compile PPSPP source code Android version- slbwgslz - slbwgslz's blog

Guess you like

Origin blog.csdn.net/slbwgslz/article/details/81903940