01-18-2014, 12:36 PM
I do cmake ./ and then make, here's what I get:
I'm using debian testing. Any idea how to get this to compile?
Code:
cmake ./
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.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
-- BuildType set to Devel by default
-- Disable the stripping by default in Devel build !!!
-- Disable the building of po files by default in Devel build !!!
-- Found Freetype: /usr/lib/i386-linux-gnu/libfreetype.so (found version "2.4.9")
-- Found GTK2_GTK: /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found ALSA: /usr/lib/i386-linux-gnu/libasound.so (found version "1.0.27.2")
-- Found BZip2: /usr/lib/i386-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/i386-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/i386-linux-gnu/libbz2.so - found
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
-- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
-- 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/i386-linux-gnu/libSDL.so (found version "1.2.15")
-- Found Subversion: /usr/bin/svn (found version "1.7.14")
-- Found wxWidgets: TRUE
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.8")
-- Found Cg: /usr/lib/i386-linux-gnu/libCg.so;/usr/lib/i386-linux-gnu/libCgGL.so
-- Found GLEW: /usr/lib/i386-linux-gnu/libGLEW.so
-- Found Libc: /usr/lib/i386-linux-gnu/librt.so;/usr/lib/i386-linux-gnu/libdl.so;/usr/lib/i386-linux-gnu/libm.so
-- Found PortAudio: /usr/lib/libportaudio.so
-- Found SoundTouch: /usr/lib/i386-linux-gnu/libSoundTouch.so
-- Found SparseHash: /usr/include
-- Could NOT find SparseHash_new (missing: SPARSEHASE_NEW_INCLUDE_DIR)
-- Don't build zerospu2. It is super-seeded by spu2x
-- Configuring done
CMake Warning (dev) in plugins/CDVDiso/src/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_C_FLAGS has been modified. CMake will ignore
the POSITION_INDEPENDENT_CODE target property for shared libraries and will
use the CMAKE_SHARED_LIBRARY_C_FLAGS variable instead. This may cause
errors if the original content of CMAKE_SHARED_LIBRARY_C_FLAGS was removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/CDVDiso/src/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/CDVDlinuz/Src/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_C_FLAGS has been modified. CMake will ignore
the POSITION_INDEPENDENT_CODE target property for shared libraries and will
use the CMAKE_SHARED_LIBRARY_C_FLAGS variable instead. This may cause
errors if the original content of CMAKE_SHARED_LIBRARY_C_FLAGS was removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/CDVDnull/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/dev9null/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/FWnull/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/GSdx/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/GSnull/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/onepad/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/PadNull/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/SPU2null/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/spu2-x/src/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/USBnull/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/zzogl-pg/opengl/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in plugins/zzogl-pg-cg/opengl/CMakeLists.txt:
Variable CMAKE_SHARED_LIBRARY_CXX_FLAGS has been modified. CMake will
ignore the POSITION_INDEPENDENT_CODE target property for shared libraries
and will use the CMAKE_SHARED_LIBRARY_CXX_FLAGS variable instead. This may
cause errors if the original content of CMAKE_SHARED_LIBRARY_CXX_FLAGS was
removed.
Policy CMP0018 is not set: Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
variable. Run "cmake --help-policy CMP0018" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: pcsx2-1.0.0-r5350-sources
$ make
Scanning dependencies of target translations_pcsx2_Iconized
[ 1%] Generating hu_HU__pcsx2_Iconized.gmo
[ 1%] Generating pt_BR__pcsx2_Iconized.gmo
[ 1%] Generating it_IT__pcsx2_Iconized.gmo
[ 1%] Generating es_ES__pcsx2_Iconized.gmo
[ 1%] Generating tr_TR__pcsx2_Iconized.gmo
[ 1%] Generating de_DE__pcsx2_Iconized.gmo
[ 1%] Generating ru_RU__pcsx2_Iconized.gmo
[ 2%] Generating id_ID__pcsx2_Iconized.gmo
[ 2%] Generating ja_JP__pcsx2_Iconized.gmo
[ 2%] Generating sv_SE__pcsx2_Iconized.gmo
[ 2%] Generating pl_PL__pcsx2_Iconized.gmo
[ 2%] Generating fi_FI__pcsx2_Iconized.gmo
[ 2%] Generating zh_TW__pcsx2_Iconized.gmo
[ 3%] Generating cs_CZ__pcsx2_Iconized.gmo
[ 3%] Generating zh_CN__pcsx2_Iconized.gmo
[ 3%] Generating th_TH__pcsx2_Iconized.gmo
[ 3%] Generating fr_FR__pcsx2_Iconized.gmo
[ 3%] Generating ko_KR__pcsx2_Iconized.gmo
[ 3%] Generating ms_MY__pcsx2_Iconized.gmo
[ 3%] Built target translations_pcsx2_Iconized
Scanning dependencies of target translations_pcsx2_Main
[ 4%] Generating hu_HU__pcsx2_Main.gmo
[ 4%] Generating pt_BR__pcsx2_Main.gmo
[ 4%] Generating it_IT__pcsx2_Main.gmo
[ 4%] Generating es_ES__pcsx2_Main.gmo
[ 4%] Generating tr_TR__pcsx2_Main.gmo
[ 4%] Generating de_DE__pcsx2_Main.gmo
[ 5%] Generating ru_RU__pcsx2_Main.gmo
[ 5%] Generating id_ID__pcsx2_Main.gmo
[ 5%] Generating ja_JP__pcsx2_Main.gmo
[ 5%] Generating sv_SE__pcsx2_Main.gmo
[ 5%] Generating pl_PL__pcsx2_Main.gmo
[ 5%] Generating fi_FI__pcsx2_Main.gmo
[ 6%] Generating zh_TW__pcsx2_Main.gmo
[ 6%] Generating cs_CZ__pcsx2_Main.gmo
[ 6%] Generating zh_CN__pcsx2_Main.gmo
[ 6%] Generating th_TH__pcsx2_Main.gmo
[ 6%] Generating fr_FR__pcsx2_Main.gmo
[ 6%] Generating ko_KR__pcsx2_Main.gmo
[ 6%] Generating ms_MY__pcsx2_Main.gmo
[ 6%] Built target translations_pcsx2_Main
Scanning dependencies of target Utilities
[ 6%] Building CXX object common/src/Utilities/CMakeFiles/Utilities.dir/AlignedMalloc.cpp.o
In file included from pcsx2-1.0.0-r5350-sources/common/include/Utilities/Console.h:18:0,
from pcsx2-1.0.0-r5350-sources/common/include/Utilities/TraceLog.h:18,
from pcsx2-1.0.0-r5350-sources/common/src/Utilities/PrecompiledHeader.h:25,
from pcsx2-1.0.0-r5350-sources/common/src/Utilities/AlignedMalloc.cpp:19:
pcsx2-1.0.0-r5350-sources/common/include/Utilities/StringHelpers.h: In member function ‘FastFormatAscii& FastFormatAscii::operator+=(const wxString&)’:
pcsx2-1.0.0-r5350-sources/common/include/Utilities/StringHelpers.h:158:27: error: cannot pass objects of non-trivially-copyable type ‘class wxCStrData’ through ‘...’
Write( "%ls", s.c_str() );
^
pcsx2-1.0.0-r5350-sources/common/include/Utilities/StringHelpers.h: In member function ‘FastFormatUnicode& FastFormatUnicode::operator+=(const wxString&)’:
pcsx2-1.0.0-r5350-sources/common/include/Utilities/StringHelpers.h:207:27: error: cannot pass objects of non-trivially-copyable type ‘class wxCStrData’ through ‘...’
Write( L"%s", s.c_str() );
^
make[2]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/AlignedMalloc.cpp.o] Error 1
make[1]: *** [common/src/Utilities/CMakeFiles/Utilities.dir/all] Error 2
make: *** [all] Error 2
I'm using debian testing. Any idea how to get this to compile?