Next Generation Emulation banner
1 - 1 of 1133 Posts

· Registered
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

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?


1 - 1 of 1133 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.