Building with clang works. Without downgrading or other workarounds.
Just add the lines
export CC=/usr/bin/clang
and export CXX=/usr/bin/clang++
above the line
cmake .. \
Git Clone URL: | https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy) |
---|---|
Package Base: | pcsx2-git |
Description: | A Sony PlayStation 2 emulator |
Upstream URL: | https://github.com/PCSX2/pcsx2 |
Licenses: | GPL-3.0+ |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | weirdbeard (xiota) |
Last Packager: | weirdbeard |
Votes: | 130 |
Popularity: | 0.130081 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2024-11-27 22:52 (UTC) |
« First ‹ Previous 1 .. 33 34 35 36 37 38 39 40 41 42 43 .. 67 Next › Last »
Building with clang works. Without downgrading or other workarounds.
Just add the lines
export CC=/usr/bin/clang
and export CXX=/usr/bin/clang++
above the line
cmake .. \
compile with clang
ok maybe i didn't downgrade gcc right cuz I tried again it's working now. Sorry and thanks for the help!
@robzombie91 still doesn't work after that workaround. Any other ideas? I'm on Manjaro.
lib32-libpcap
seems to be needed in depends array (message below mentions gtk2 and libxml2, but they are already provided by other dependencies)
CMake Error at cmake/SelectPcsx2Plugins.cmake:21 (message):
Skip build of dev9ghzdrk: missing dependencies:check these libraries ->
gtk2, pcap, libxml2
@dnlaua Just update normally like you would if you had not downgraded
This may be a stupid question, but how do I update gcc to latest version after downgrading?
Only way to build until gcc is updated is to downgrade gcc to 8.3.0.
It built successfully after the fact
pacman -U --nodeps https://archive.archlinux.org/packages/g/gcc/gcc-8.3.0-1-x86_64.pkg.tar.xz or download the package locally then do pacman -U --nodeps gcc-8.3.0-1-x86_64.pkg.tar.xz
I then reupdated gcc to the latest verson after building pcsx2-git
Build is failing due to gcc bug. Upstream issue: https://github.com/PCSX2/pcsx2/issues/2948
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.