Lilypad issues and compilation woes
#1
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.

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]
Reply

Sponsored links

#2
Lilypad linux-port is not yet finish. In particular there is no GUI. Compiling from source won't help. However you can get a more recent GSdx. (by the way what is the official repos? Ubuntu? Or my (a bit outdated) ppa?)
You need to install the multilib version of the compiler
Quote:ii g++-4.9-multilib 4.9.2-10 amd64 GNU C++ compiler (multilib files)
ii gcc-4.9-multilib 4.9.2-10 amd64 GNU C compiler (multilib files)
Reply
#3
gregory, thanks for replying. I was really hoping you would as i have read how helpful you can be.

I am installing the multilib libraries right now. I originally downloaded pcsx2 from your PPA (outdated as you say) but now I am trying to compile the source which i got from cloning https://github.com/PCSX2/pcsx2.

Can you point me to the way in which to configure the controller by hand?

Also, is it only the GUI that is missing from lilypad, or is there more? I might be interested in helping out.

[edit]

This is the output of the compilation now. Looks like I gotta install more libs.

Code:
charles@charles-desktop:~/code/pcsx2$ ./build.sh --clean --release
Doing a clean build.
Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Cross compilation is enabled.
-- Compiling a i386 build on a x86_64 host.
-- Could NOT find ALSA (missing:  ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.2")
-- Found Git: /usr/bin/git (found version "2.4.6")
-- Could NOT find JPEG (missing:  JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find LibLZMA (missing:  LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY) (found version "1.2.8")
-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY) (found version "1.2.8")
-- Could NOT find Cg (missing:  CG_LIBRARIES CG_INCLUDE_DIRS)
-- Could NOT find GLEW (missing:  GLEW_LIBRARY GLEW_INCLUDE_DIR)
-- Found Libc: /usr/lib/i386-linux-gnu/librt.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- AIO not found
-- EGL not found
-- PORTAUDIO not found
-- SOUNDTOUCH not found
-- PNGPP not found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR)
-- Some or all of the gtk libraries were not found. (missing:  GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
-- Skip build of common libraries: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), aio
-- Skip build of pcsx2 core: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=2.16), zlib (>=1.2.4), pcsx2 common libs
-- Skip build of GSdx: miss some dependencies
-- check these libraries -> opengl, png++, X11
-- Skip build of onepad: miss some dependencies
-- check these libraries -> sdl (>=1.2), X11
-- Skip build of spu2-x: miss some dependencies
-- check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (>=1.2) pcsx2 common libs
-- Configuring done
-- Generating done
-- Build files have been written to: /home/charles/code/pcsx2/build
Scanning dependencies of target translations_pcsx2_Main
[  2%] Generating ../nb_NO__pcsx2_Main.gmo
Scanning dependencies of target translations_pcsx2_Iconized
[  4%] Generating ../nb_NO__pcsx2_Iconized.gmo
[  6%] [  8%] Generating ../pl_PL__pcsx2_Iconized.gmo
Generating ../pl_PL__pcsx2_Main.gmo
[ 10%] Generating ../ja_JP__pcsx2_Iconized.gmo
[ 13%] Generating ../ko_KR__pcsx2_Iconized.gmo
[ 15%] [ 17%] Generating ../hu_HU__pcsx2_Iconized.gmo
Generating ../ja_JP__pcsx2_Main.gmo
[ 19%] Generating ../ms_MY__pcsx2_Iconized.gmo
[ 21%] Generating ../fr_FR__pcsx2_Iconized.gmo
[ 23%] Generating ../ko_KR__pcsx2_Main.gmo
[ 26%] Generating ../fi_FI__pcsx2_Iconized.gmo
[ 28%] Generating ../hu_HU__pcsx2_Main.gmo
[ 30%] Generating ../zh_CN__pcsx2_Iconized.gmo
[ 32%] Generating ../ms_MY__pcsx2_Main.gmo
[ 34%] [ 36%] Generating ../it_IT__pcsx2_Iconized.gmo
Generating ../fr_FR__pcsx2_Main.gmo
[ 39%] [ 41%] Generating ../id_ID__pcsx2_Iconized.gmo
[ 43%] Generating ../fi_FI__pcsx2_Main.gmo
Generating ../ca_ES__pcsx2_Iconized.gmo
[ 45%] [ 47%] Generating ../zh_CN__pcsx2_Main.gmo
Generating ../hr_HR__pcsx2_Iconized.gmo
[ 50%] [ 52%] Generating ../it_IT__pcsx2_Main.gmo
Generating ../es_ES__pcsx2_Iconized.gmo
[ 54%] Generating ../id_ID__pcsx2_Main.gmo
[ 56%] [ 58%] Generating ../ca_ES__pcsx2_Main.gmo
Generating ../sv_SE__pcsx2_Iconized.gmo
[ 60%] Generating ../hr_HR__pcsx2_Main.gmo
[ 63%] Generating ../de_DE__pcsx2_Iconized.gmo
[ 65%] Generating ../es_ES__pcsx2_Main.gmo
[ 67%] Generating ../zh_TW__pcsx2_Iconized.gmo
[ 69%] [ 71%] Generating ../tr_TR__pcsx2_Iconized.gmo
Generating ../sv_SE__pcsx2_Main.gmo
[ 73%] Generating ../ar_SA__pcsx2_Iconized.gmo
[ 76%] Generating ../de_DE__pcsx2_Main.gmo
[ 78%] Generating ../ru_RU__pcsx2_Iconized.gmo
[ 80%] [ 82%] Generating ../zh_TW__pcsx2_Main.gmo
Generating ../cs_CZ__pcsx2_Iconized.gmo
[ 84%] [ 86%] Generating ../th_TH__pcsx2_Iconized.gmo
[ 89%] Generating ../tr_TR__pcsx2_Main.gmo
Generating ../pt_BR__pcsx2_Iconized.gmo
[ 89%] Built target translations_pcsx2_Iconized
[ 91%] [ 93%] Generating ../ru_RU__pcsx2_Main.gmo
Generating ../ar_SA__pcsx2_Main.gmo
[ 95%] Generating ../cs_CZ__pcsx2_Main.gmo
[ 97%] Generating ../th_TH__pcsx2_Main.gmo
[100%] Generating ../pt_BR__pcsx2_Main.gmo
[100%] Built target translations_pcsx2_Main
[ 50%] Built target translations_pcsx2_Iconized
[100%] Built target translations_pcsx2_Main
Install the project...
-- Install configuration: "Release"
-- Installing: /home/charles/code/pcsx2/bin/Langs/nb_NO/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/pl_PL/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ja_JP/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ko_KR/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/hu_HU/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ms_MY/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/fr_FR/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/fi_FI/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/zh_CN/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/it_IT/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/id_ID/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ca_ES/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/hr_HR/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/es_ES/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/sv_SE/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/de_DE/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/zh_TW/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/tr_TR/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ar_SA/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ru_RU/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/cs_CZ/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/th_TH/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/pt_BR/pcsx2_Iconized.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/nb_NO/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/pl_PL/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ja_JP/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ko_KR/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/hu_HU/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ms_MY/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/fr_FR/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/fi_FI/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/zh_CN/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/it_IT/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/id_ID/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ca_ES/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/hr_HR/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/es_ES/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/sv_SE/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/de_DE/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/zh_TW/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/tr_TR/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ar_SA/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/ru_RU/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/cs_CZ/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/th_TH/pcsx2_Main.mo
-- Installing: /home/charles/code/pcsx2/bin/Langs/pt_BR/pcsx2_Main.mo
Reply
#4
Quote:Can you point me to the way in which to configure the controller by hand?
Unfortunately no. Info is coded in a special way (someone need to check the code source). I started the port 6 months ago and quickly switched to GSdx dev.

The good news is that GSdx-ogl is now much better than GSdx-dx. The bad news is the pad improvement stall. Lilypad port isn't yet finished and likely contains various bugs. So the best solution so far is to use onepad.
Reply
#5
So i found the option for onepad. I could have sworn that in my last installation there was only a listing in the dropdown for lilypad. I got it set up and i thought it would be over.

Now, though, when i load a game (and the bios), the sound is extremely scratchy, and at the prompt to selection the timezone, it seems like the controller looses input and the emulator gets stuck going to the right. I'm going to restart my PC once again to make sure.

[edit]

Fixed the audio by changing to pulseaudio. That's great. Booted a game and it's running. Still having the problem of a "stuck" button. Now i'm wondering if my actual controller is broken. Going to test with xbox360 controller.

[edit]

It was the controller. You can close the thread if you wish. Thanks
Reply
#6
Onepad is also suboptimal for many reasons including the big killer, lack of rumble support. I'm not sure about you, but I think rumble gives you the "full" experience without which games don't really feel right. Perhaps I"m a bit spoiled by the PS2 itself but having spoken with others about this I know I'm not the only one wishing it were there.

Craysiii, you mentioned you would be interested in "helping out" - does that mean on the coding side of things? Just curious as I think it would be great to see lilypad development pick up, and even if it doesn't lead to fully working inputs, anything would be nice.
Reply




Users browsing this thread: 1 Guest(s)