Table of Contents |
---|
Download the source code |
Prerequisites |
Building for Windows |
Building for Android |
Building for Qt platforms |
CMake (Other platforms) |
Building for iOS |
Building for Raspbian |
Building For Linux (Clang 3.4) |
git clone --recurse-submodules https://github.com/hrydgard/ppsspp.git
, or fork and clone that).git pull --rebase https://github.com/hrydgard/ppsspp.git
) and then the above command..gitmodules
file).build-essential
package. Fedora/RHEL uses the 'Development Tools' package group. Install: sudo apt install build-essential cmake libgl1-mesa-dev libsdl2-dev libvulkan-dev
sdl2
, cmake
, libzip
and snappy
packages (brew install sdl2 cmake libzip snappy
).sudo iod-setup sdk
)qt5-qmake qtsystems5-dev qtmultimedia5-dev qttools5-dev-tools
for Qt5. Install SDL 1.2 if you want to use USB Gamepad or improve Linux audio. For Qt's built-in audio, use qtmultimedia5-dev
on Qt5.). After installing these package components, simply open up the terminal and:sudo apt install libgl1-mesa-dev libsdl2-dev
.NMake Makefiles
, Visual Studio 11
(projects + sln),GNU Makefiles
and Unix Makefiles
generators have been tested.b.sh
, on Linux, which will create the directory for you.If you are on Windows, you will need GNU and CMake to run the bash scripts.cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/Toolchains/ios.cmake -DIOS_PLATFORM=OS -DCMAKE_IOS_SDK_ROOT=/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk -H. -Bbuild.ios -GXcode
zip -r9 PPSSPP.ipa Payload/PPSSPP.app
, and use Cydia Impactor to install.cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/Toolchains/ios.cmake -DIOS_PLATFORM=SIMULATOR -H. -Bbuild.ios -GXcode
uicache
as mobile in a terminal session to rebuild the SpringBoard UICache, or simply reboot.sudo update-alternatives --config cc
and sudo update-alternatives --config c++
to switch to Clang.-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv7.cmake
when using cmake
. For armv6 devices, you'll need to use -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/raspberry.armv6.cmake
. See also ./b.sh --rpi
.echo 5 | sudo tee /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
will improve performance but increase temperatures. You may always want the legacy GL driver and to update firmware, as well as allocate more RAM to the GPU.clang-3.4
packages from the repository and install it. Then, you will need to run the command to locate where is bits/c++config.h
:c++config.h
located at /usr/include/<arch>/c++/<version>/bits
depending kinds of machine and installation. After located the c++config.h
and other header file components, simply copy the c++config.h
and other header files to /usr/include/c++/<version>/bits
and placed it into the location in order to make Clang building the project without problems..bashrc
file to make it as a default compiler.