Closed cocosunriseidk closed 2 years ago
Hi, sorry you're having troubles. What is your g++ --version
? Can you do sudo apt install pkg-config
and try again? That is weird because as far as I know this command is shipped out of the box with most distros. Also, are you compiling on a headless server?
g++:
g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
sudo apt install pkg-config
didn't change anything
Yes, it's a headless server
It looks like your GCC version is too old.
Looking back on an old issue I opened while working on this project, I mentionned some C++17 features weren't available with g++ version 6, but work with g++ version 8 and up.
The pkg-config
command is required for building. It appears that you are using an ancient Debian version for which I do not have a lot of knowledge. I cannot give you precise instructions but having this command is a requirement.
If you don't mind me asking, why would you use such a setup? Are you testing coverage or CI?
OK, I'll try another version, thanks. I'm just testing if I can use Steam and SAM on a headless server (unsuccessful).
UPD: I can say for sure that this error does not exist on Debian 11.
I think you could use the command-line options in a headless server, if there's also a way to run Steam headlessly. Great to see you found a solution! Is your issue considered solved?
Yes, the problem is solved. Also everything is fine on Fedora 34
Thank you, if you need anything else, let me know!
Hello I have cloned the repository to my PC, and when I try to execute
make
in /SamRewritten-master, I get this error. OS:Linux vps-efdc6074 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux
Before that I installed
$ sudo apt install libgtkmm-3.0-dev libcurl4-gnutls-dev libyajl-dev
The system has just been installed