danielkrupinski / GOESP

Cross-platform streamproof ESP hack for Counter-Strike: Global Offensive, written in modern C++. Rendering and GUI powered by Dear ImGui + FreeType.
MIT License
434 stars 74 forks source link

Linux gcc++ #99

Closed jablochniyvorishka closed 3 years ago

jablochniyvorishka commented 3 years ago

Hi, can you advise what problem is it? How to debug and fix that?

gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) ubuntu 5.8.0-43-generic

Scanning dependencies of target GOESP
[  4%] Building CXX object CMakeFiles/GOESP.dir/GOESP/GUI.cpp.o
In file included from /home/x/GOESP/GOESP/GUI.cpp:18:
/home/x/GOESP/GOESP/Helpers.h:5:10: fatal error: numbers: No such file or directory
    5 | #include <numbers>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/GOESP.dir/build.make:89: CMakeFiles/GOESP.dir/GOESP/GUI.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/GOESP.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
jablochniyvorishka commented 3 years ago

sudo rm /usr/bin/g++ sudo ln -s g++-10 /usr/bin/g++ sudo rm /usr/bin/gcc sudo ln -s gcc-10 /usr/bin/gcc

if gcc and g++ is not installed :

sudo apt install gcc-10 g++-10