Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide: compiling ppsspp SDL and Qt version on fedora
11-20-2013, 11:00 PM (This post was last modified: 11-26-2013 05:13 AM by xsacha.)
Post: #1
Guide: compiling ppsspp SDL and Qt version on fedora
Hi,

Here's how we can build ppsspp latest from git in fedora:

Prerequisites: first build dependencies for PPSSPPSDL (SDL version)
Code:
sudo yum -y install gcc gcc-c++ SDL-devel cmake zlib-devel glibc-devel libICE-devel libX11-devel libXext-devel libSM-devel alsa-lib-devel mesa-libEGL-devel  mesa-libGL-devel mesa-libGLU-devel SDL zlib

Next get the latest git version (about 100mb)
Code:
git clone https://github.com/hrydgard/ppsspp.git ~/build/ppsspp
cd ~/build/ppsspp
git submodule update --init

Build:
Code:
./b.sh

Run:
Code:
~/build/ppsspp/build/PPSSPPSDL --fullscreen
[Image: Screenshot_from_2013_11_21_05_28_03.png]

Prerequisites: To build Qt version, we need qt-devel package, fedora 19 has qt4 and qt5. Qt 5 has better sound, qt4 has stuttering sound issue. So, let's build the Qt5 version.
Code:
sudo yum -y qt5-qtbase-x11 qt5-qttools-devel qt5-qtmultimedia-devel qt5-qtbase qt5-qtdeclarative-devel qt5-qtmultimedia qt5-qtjsbackend qt5-qttools qt5-qtbase-devel

Build: Use qmake-qt4 if you want the Qt4 version
Code:
cd ~/build/ppsspp/buildQt/
qmake-qt5 ../Qt/PPSSPPQt.pro && make

Run:
Code:
~/build/ppsspp/buildQt/PPSSPPQt
[Image: Screenshot_from_2013_11_21_05_27_48.png]
Thanks!


UPDATE: Updating to the latest git version

First time, do this:
Code:
git remote add upstream https://github.com/hrydgard/ppsspp.git

Code:
cd ~/build/ppsspp/
git pull --rebase upstream master
git submodule update --init

# SDL
./b.sh

# Qt
cd ~/build/ppsspp/buildQt
qmake-qt5 ../Qt/PPSSPPQt.pro && make

That's all folks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Guide: compiling ppsspp SDL and Qt version on fedora - fastrizwaan - 11-20-2013 11:00 PM

Forum Jump: