07-21-2015, 03:47 AM
Hi. I'm new here and was recommended to post here by a fine person over on the pcsx2 reddit.
I installed pcsx2-unstable from the official repos. I'm running ubuntu-gnome 15.04. I tried to run the program, and I cannot configure lilypad. I looked around and really couldn't find anything. It was recommended to me that I compile it from source.
So i cloned the github repo and ran ./build.sh --release. No luck. Kept giving me some error about gcc not finding these two library files. I did some things i found on the internet and they went away, but now I have another problem.
I can't figure out how to properly build this thing. I installed package libstdc++4.9-dev:i386, tried both with --cross-multi-lib and --no-cross-multilib. Help![/code]
I installed pcsx2-unstable from the official repos. I'm running ubuntu-gnome 15.04. I tried to run the program, and I cannot configure lilypad. I looked around and really couldn't find anything. It was recommended to me that I compile it from source.
So i cloned the github repo and ran ./build.sh --release. No luck. Kept giving me some error about gcc not finding these two library files. I did some things i found on the internet and they went away, but now I have another problem.
Code:
charles@charles-desktop:~/code/pcsx2$ ./build.sh --dev
Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_BUILD_TYPE=Devel -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The CXX compiler identification is GNU 4.9.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/charles/code/pcsx2/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3824367671/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3824367671.dir/build.make
CMakeFiles/cmTryCompileExec3824367671.dir/build
make[1]: Entering directory
'/home/charles/code/pcsx2/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/charles/code/pcsx2/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object
CMakeFiles/cmTryCompileExec3824367671.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -m32 -o
CMakeFiles/cmTryCompileExec3824367671.dir/testCXXCompiler.cxx.o -c
/home/charles/code/pcsx2/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec3824367671
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec3824367671.dir/link.txt --verbose=1
/usr/bin/c++ -m32
CMakeFiles/cmTryCompileExec3824367671.dir/testCXXCompiler.cxx.o -o
cmTryCompileExec3824367671 -rdynamic
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec3824367671.dir/build.make:88: recipe for target
'cmTryCompileExec3824367671' failed
make[1]: *** [cmTryCompileExec3824367671] Error 1
make[1]: Leaving directory
'/home/charles/code/pcsx2/build/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec3824367671/fast' failed
make: *** [cmTryCompileExec3824367671/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/home/charles/code/pcsx2/build/CMakeFiles/CMakeOutput.log".
See also "/home/charles/code/pcsx2/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
I can't figure out how to properly build this thing. I installed package libstdc++4.9-dev:i386, tried both with --cross-multi-lib and --no-cross-multilib. Help![/code]