10-05-2020, 09:42 PM
(This post was last modified: 10-06-2020, 10:30 AM by DragonSlopeLayout.
Edit Reason: Problem Solved. Changing title
)
Hello all,
I was able to build PCSX2 fine on Friday (October 2nd 2020) but after running git pull --recurse-submodules from the repo I get an error while building (note: it may not be the --recurse-submodules that is the problem, but it's the only thing I have done differently since the last build).
This is what worked before:
Now I get a bunch of errors around 75%. There are too many to see in the bash window so I have summarized them below
There are many more, but they seem to be variations on the ones listed. I have attached a the full output.
Things I have tried:
My spec:
OS: Debian 10.6 Buster
CPU: AMD FX-8350
GPU: NVidia GTX 1050Ti
RAM: 8GB DDR3
I was able to build PCSX2 fine on Friday (October 2nd 2020) but after running git pull --recurse-submodules from the repo I get an error while building (note: it may not be the --recurse-submodules that is the problem, but it's the only thing I have done differently since the last build).
This is what worked before:
Code:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/home/*MYUSERNAME*/usr" -DPACKAGE_MODE=True
make -j8
make install
Code:
In file included from /home/*MYUSERNAME*/pcsx2/pcsx2/gui/AppConfig.h:20,
from /home/*MYUSERNAME*/pcsx2/pcsx2/SPU2/Linux/CfgHelpers.cpp:16:
/home/*MYUSERNAME*/pcsx2/pcsx2/./CDVD/CDVDaccess.h:102:23: error: ‘_CDVDgetTrayStatus’ was not declared in this scope
typedef s32(CALLBACK* _CDVDgetTrayStatus)();
^~~~~~~~~~~~~~~~~~
/home/*MYUSERNAME*/pcsx2/pcsx2/./CDVD/CDVDaccess.h:103:13: error: ISO C++ forbids declaration of ‘s32’ with no type [-fpermissive]
typedef s32(CALLBACK* _CDVDctrlTrayOpen)();
^~~~~~~~
/home/*MYUSERNAME*/pcsx2/pcsx2/./CDVD/CDVDaccess.h:103:13: error: typedef ‘s32’ is initialized (use decltype instead)
/home/*MYUSERNAME*/pcsx2/pcsx2/./CDVD/CDVDaccess.h:103:13: error: ‘CALLBACK’ was not declared in this scope
/home/*MYUSERNAME*/pcsx2/pcsx2/./CDVD/CDVDaccess.h:103:13: note: the macro ‘CALLBACK’ had not yet been defined
In file included from /home/*MYUSERNAME*/pcsx2/pcsx2/SPU2/Linux/CfgHelpers.cpp:16:
/home/sdebian/pcsx2/pcsx2/gui/AppConfig.h:46:9: error: ‘wxDirName’ does not name a type; did you mean ‘wxGuardName’?
extern wxDirName GetUserLocalDataDir();
^~~~~~~~~
wxGuardName
/home/*MYUSERNAME*/pcsx2/pcsx2/./Config.h:208:11: error: ‘OpEqu’ was not declared in this scope
return OpEqu( bitset );
^~~~~
Things I have tried:
- Periodically pulling from the repo
- Deleting the project folder and cloning from scratch (with and without --recurse-submodules)
- Pulling a commit from before Friday
My spec:
OS: Debian 10.6 Buster
CPU: AMD FX-8350
GPU: NVidia GTX 1050Ti
RAM: 8GB DDR3