Next Generation Emulation banner

1121 - 1124 of 1124 Posts

·
Registered
Joined
·
1 Posts
Hi. I am a Linux -I use Lubuntu 20.4.1- newbie and I couldn't install it. I cloned the source and ran CMake QT but it failed with the CMakeError.log saying

Code:
Performing C SOURCE FILE Test NO_PIE_PATCHED failed with the following output:
Change Dir: /home/danny/Desktop/PCSXR/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_2f430/fast && /usr/bin/make -f CMakeFiles/cmTC_2f430.dir/build.make CMakeFiles/cmTC_2f430.dir/build
make[1]: Entering directory '/home/danny/Desktop/PCSXR/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2f430.dir/src.c.o
/usr/bin/cc   -DNO_PIE_PATCHED   -nopie -o CMakeFiles/cmTC_2f430.dir/src.c.o   -c /home/danny/Desktop/PCSXR/CMakeFiles/CMakeTmp/src.c
cc: error: unrecognized command line option '-nopie'; did you mean '-no-pie'?
make[1]: *** [CMakeFiles/cmTC_2f430.dir/build.make:66: CMakeFiles/cmTC_2f430.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/danny/Desktop/PCSXR/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_2f430/fast] Error 2


Source file was:
int main(void) { return 0; }
I randomly decided to open CMakeLists.txt at the base of the cloned git repository -not going to lie, I have no experience on compiling or anything- and change a -nopie to -no-pie.

This time it again gave me an error but without a errorfile but instead told me to check the CMakeOutput.log

So, what do I do?
 

Attachments

·
...
Joined
·
342 Posts
So, what do I do?
User space installation (without root or sudo):
Bash:
git clone https://github.com/iCatButler/pcsxr.git
cd pcsxr
mkdir build
cd build
mkdir $HOME/pcsxr-pgxp
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/pcsxr-pgxp ..
make
To search for dependencies in case of unsuccessful builds (example with libpng):
Bash:
apt-cache search libpng | grep 'dev'
sudo apt-get install libpng16-dev
In case of build success:
Bash:
make install
Edit your "$HOME/.bashrc" file, and add to the end "PATH=$HOME/pcsxr-pgxp/bin:$PATH"
To launch use "LIBGL_ALWAYS_SOFTWARE=1 pcsxr" from terminal or create a launcher...

Other much better alternatives:
DuckStation
RetroArch with Beetle PSX / Beetle PSX HW
PCSX-Redux
Avocado
XEBRA on Wine
 
1121 - 1124 of 1124 Posts
Top