Resolved: [SOLVED] [Compile Error] pcsx2-git-5875
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:
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

Sponsored links

Thanks. Should be fixed -
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.
AMD Ryzen 5 3600 @ 3.60~4.20 GHz | Corsair Vengeance LPX 32 GB (2x16GB) DDR4-3200
MSI GeForce GTX 1660 Super @ 6 GB | Samsung 980 1TB | Windows 10 Pro x64 (22H2)

Users browsing this thread: 1 Guest(s)