joder 666 Wed, 10 Jun 2015 01:39:00 +0300:
Oops really sorry forgot to mention it, I am trying to build pcsx2 on
opensuse tumbleweed x64 which i have on a virtualbox vm. First time
doing it!
OK, for already packaged software the repo with it could be added and
`zypper si -d` could be executed:
source-install, si Install source packages and their build
dependencies.
-d, --build-deps-only Install only build dependencies of specified
packages.
Finally check package spec that is a kind of bash script:
https://pmbs.links2linux.de/package/show/Games/pcsx2
There are some patches required to build. IMHO you should also apply them.
When I run the "build.sh" it always complains of some missing
dependencies, plus cmake complains about some unset/unused variables for
portaudio and soundtouch. I am not using any dev option or experimental
features.
I did another hunt for the missing libraries/dependencies, on a clean
install of tumbleweed x64 using the latest snapshot available as well
the latest code of pcsx2 from github.
I already have all of this installed:
zypper install cmake-gui gcc-32bit gcc-c++-32bit git alsa-devel-32bit
libaio-devel-32bit libbz2-devel-32bit Mesa-libEGL-devel-32bit
Mesa-libGLESv2-devel-32bit gtk2-devel-32bit libjpeg8-devel-32bit
libSDL-devel-32bit soundtouch-devel portaudio-devel sparsehash-devel
cg-devel cg-32bit
liba52-devel wxWidgets-3_0-devel-32bit png++-devel libpng16-devel-32bit
zlib-devel-32bit gettext-runtime-32bit gettext-tools gettext-tools-32bit
lzlib-devel Mesa-libGL-devel-32bit glib-32bit glib-devel-32bit
xorg-x11-devel glew-devel libGLEW1_12-32bit
Mesa-libGLESv1_CM-devel-32bit glib2-devel-32bit glew-devel
libGLEW1_12-32bit libX11-devel-32bit
-Here's the error i get:
Doing a clean build.
Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE
-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build openSUSE specific
-- Cross compilation is enabled.
-- Compiling a i386 build on a x86_64 host.
-- BuildType set to Devel by default
-- Found ALSA: /usr/lib/libasound.so (found version "1.0.29")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.4")
-- Found Git: /usr/bin/git (found version "2.4.2")
-- Found JPEG: /usr/lib/libjpeg.so
-- Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER
LIBLZMA_HAS_LZMA_PRESET)
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/libpng16.so (found version "1.6.17")
-- Found OpenGL: /usr/lib/libGL.so
-- Found wxWidgets: TRUE
-- Found Cg: /usr/lib/libCg.so;/usr/lib/libCgGL.so
-- Could NOT find GLEW (missing: GLEW_LIBRARY)
-- Found Libc: /usr/lib/librt.so;/usr/lib/libdl.so;/usr/lib/libm.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- AIO found
-- EGL found
-- PORTAUDIO found
-- SOUNDTOUCH found
-- PNGPP 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
-- Found SDL: /usr/lib/libSDL.so (found version "1.2.15")
-- Looking for XOpenDisplay in /usr/lib/libX11.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
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:
PORTAUDIO_LIBRARIES
linked by target "spu2x-2.0.0" in directory
/home/joder/pcsx2/plugins/spu2-x/src
SOUNDTOUCH_LIBRARIES
linked by target "spu2x-2.0.0" in directory
/home/joder/pcsx2/plugins/spu2-x/src
-- Configuring incomplete, errors occurred!
See also "/home/joder/pcsx2/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
-Here is the "CMakeOuput.log