..:: PCSX2 Forums ::..

Full Version: [SOLVED] [Compile Error] pcsx2-git-5875
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all. I've successfully built pcsx2 from git a few times on my current system, but after the latest push it fails.

/tmp/yaourt-tmp-kruesephiikz/aur-pcsx2-git/src/pcsx2/pcsx2/CDVD/CompressedFileReader.cpp:207:55: error: cannot pass objects of non-trivially-copyable type ‘class wxCStrData’ through ‘...’
/tmp/yaourt-tmp-kruesephiikz/aur-pcsx2-git/src/pcsx2/pcsx2/CDVD/CompressedFileReader.cpp:207:55: error: cannot pass objects of non-trivially-copyable type ‘class wxCStrData’ through ‘...’
/tmp/yaourt-tmp-kruesephiikz/aur-pcsx2-git/src/pcsx2/pcsx2/CDVD/CompressedFileReader.cpp: In member function ‘int GzippedFileReader::_ReadSync(void*, off_t, uint)’:
/tmp/yaourt-tmp-kruesephiikz/aur-pcsx2-git/src/pcsx2/pcsx2/CDVD/CompressedFileReader.cpp:442:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (first != maxInChunk)
pcsx2/CMakeFiles/pcsx2.dir/build.make:1882: recipe for target 'pcsx2/CMakeFiles/pcsx2.dir/CDVD/CompressedFileReader.cpp.o' failed
make[2]: *** [pcsx2/CMakeFiles/pcsx2.dir/CDVD/CompressedFileReader.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Build env:
Arch Linux x86_64
Linux react0r 3.18.1-3-ck #1 SMP PREEMPT Tue Dec 30 06:48:25 EST 2014 x86_64 GNU/Linux
GCC-Multilib 4.9.2

Using current PKGBUILD from the AUR without modifying cmake flags.

Full yaourt build log: http://pastebin.com/uxQ4ZLuW
The first lines don't actually represent the build number; that's just the version number from git at time of PKGBUILD upload. It pulls from the master branch of pcsx2, and builds the current as seen below, it's the current build that I have done.

local/pcsx2-git 1.3.0.r5851.10040f8-1
A Sony PlayStation 2 emulator
Thanks. Should be fixed - https://github.com/PCSX2/pcsx2/commit/5933db
Please confirm.
All set. Thanks for the fast fix! Now, back to my ps2crack. bahaahaha.
cool Smile
Thank you for your report.
This bug report has now been marked as Resolved since it has been fixed on our code base.

This thread will now be closed and moved to the resolved bug reports subforum.