Closed NilsNews closed 4 years ago
Hey ! Can you give the output of g++ --version
? I fear your compiler might be outdated for mcmap.
Hey ! Can you give the output of
g++ --version
? I fear your compiler might be outdated for mcmap.
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Unfortunately, it is outdated. The supported versions are from 8.0 onwards. To fix this, use apt update && apt install g++-10
, to refresh the packages and install g++10
. Afterwards, you can use the following to compile mcmap
:
CXX=g++-10 make
Hope this has been fixed. As it is a common problem and fixable, I'll close it.
If I want the code compilation. Always comes this error.
Why?
Thanks in advance.