Finding prebuilt or building cdvd plugins alone
#1
Hi all, I'm running Ubuntu 18.04 on x86-64.

I have been using PCSX2 from the official PPA.  I tried running a game from a regular PS2 DVD today and found that I only have the null plugin for CDVD.  I went looking for a prebuilt .so for Gigaherz or Linuz, but had no luck.  Then I went to just build PCSX2 from source and ran into difficulties there.  I have setup i386 multiarch with sudo dpkg --add-architecture i386.  It appears that I have i386 packages available for the libraries needed, but there are no packages for the dev versions of those libraries.

I can just rip to iso, but I would prefer not to if possible.

So where I'm at now is it looks like the only way to build the full package is in a chroot?  I'm also seeing a lot of google code links that aren't active anymore :\

That being said, I don't need the full package, I just need the plugin so.  Is it possible to just build the plugins without building the full PCSX2 package?  And if I do this, can I just put them in the plugin directory for my existing PPA install and have them work?  Would this be easier on 64 bit than building the full package?  How to do?

Alternatively, does anyone know where I can find prebuilt .so files?

If anyone does want to help me build the full package, I suppose I just need a way to get these dependencies.  This is my current console output:
Code:
$ ../build.sh
Forcing cross compilation.
[sudo] password for drz: 
update-alternatives: error: alternative /usr/lib/i386-linux-gnu/wx/config/gtk2-unicode-3.0 for wx-config not registered; not setting
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
CMake Deprecation Warning at CMakeLists.txt:37 (cmake_policy):
  The OLD behavior for policy CMP0018 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:40 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Building with GNU GCC
-- BuildType set to Devel by default
-- Cross compilation is enabled.
-- Compiling a i386 build on a x86_64 host.
-- Could NOT find ALSA (missing: ALSA_LIBRARY) (found version "1.1.3")
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY) (found version "2.8.1")
-- 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 OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY) 
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
-- Could NOT find Vtune (missing: VTUNE_LIBRARIES VTUNE_INCLUDE_DIRS) 
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
-- Could NOT find Libc (missing: LIBC_LIBRARIES) 
-- AIO not found (miss lib)
-- LIBUDEV not found (miss lib)
-- PORTAUDIO not found (miss lib)
-- SOUNDTOUCH not found (miss lib)
-- SDL2 not found (miss lib)
-- Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY) 
-- Skip build of pcsx2 core: miss some dependencies:check these libraries -> wxWidgets (>=3.0), gtk2, zlib (>=1.2.4), pcsx2 common libs
-- Skip build of cdvdGigaherz: miss some dependencies:check these libraries -> gtk2, libudev
-- Skip build of GSdx: miss some dependencies:check these libraries -> opengl, png (>=1.2), zlib (>=1.2.4), X11, liblzma
-- Skip build of onepad: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of onepad_legacy: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of spu2-x: miss some dependencies:check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (>=1.2) pcsx2 common libs
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
libdl
    linked by target "Utilities_NO_TLS" in directory /home/tim/code/pcsx2/common/src/Utilities
    linked by target "Utilities" in directory /home/tim/code/pcsx2/common/src/Utilities
libm
    linked by target "Utilities_NO_TLS" in directory /home/tim/code/pcsx2/common/src/Utilities
    linked by target "Utilities" in directory /home/tim/code/pcsx2/common/src/Utilities
librt
    linked by target "Utilities_NO_TLS" in directory /home/tim/code/pcsx2/common/src/Utilities
    linked by target "Utilities" in directory /home/tim/code/pcsx2/common/src/Utilities

-- Configuring incomplete, errors occurred!
See also "/home/tim/code/pcsx2/build/CMakeFiles/CMakeOutput.log".
See also "/home/tim/code/pcsx2/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

Code:
$ sudo apt-get install libaio-dev:i386, libbz2-dev:i386, libcggl:i386, libegl1-mesa-dev:i386, libglew-dev:i386, libgles2-mesa-dev, libgtk2.0-dev:i386, libjpeg-dev:i386, libsdl1.2-dev:i386, libsoundtouch-dev:i386, libwxgtk3.0-dev:i386, nvidia-cg-toolkit, portaudio19-dev:i386, zlib1g-dev:i386, libsdl2-dev:i386, libjack-jackd2-dev:i386, libportaudiocpp0:i386, portaudio19-dev:i386, liblzma-dev:i386
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package libaio-dev:i386,
E: Unable to locate package libbz2-dev:i386,
E: Unable to locate package libcggl:i386,
E: Unable to locate package libegl1-mesa-dev:i386,
E: Unable to locate package libglew-dev:i386,
E: Unable to locate package libgles2-mesa-dev,
E: Unable to locate package libgtk2.0-dev:i386,
E: Couldn't find any package by glob 'libgtk2.0-dev'
E: Couldn't find any package by regex 'libgtk2.0-dev'
E: Unable to locate package libjpeg-dev:i386,
E: Unable to locate package libsdl1.2-dev:i386,
E: Couldn't find any package by glob 'libsdl1.2-dev'
E: Couldn't find any package by regex 'libsdl1.2-dev'
E: Unable to locate package libsoundtouch-dev:i386,
E: Unable to locate package libwxgtk3.0-dev:i386,
E: Couldn't find any package by glob 'libwxgtk3.0-dev'
E: Couldn't find any package by regex 'libwxgtk3.0-dev'
E: Unable to locate package nvidia-cg-toolkit,
E: Unable to locate package portaudio19-dev:i386,
E: Unable to locate package zlib1g-dev:i386,
E: Unable to locate package libsdl2-dev:i386,
E: Unable to locate package libjack-jackd2-dev:i386,
E: Unable to locate package libportaudiocpp0:i386,
E: Unable to locate package portaudio19-dev:i386,
Reply

Sponsored links





Users browsing this thread: 1 Guest(s)