Open AL3XPI opened 4 years ago
Make sure that you have the required versions of gcc and g++. Just running the command as stated under installation didn't get me 9.2.0. Search for those versions for your Ubuntu os and install. I had the same error when updating a few days ago.
plz update your gcc/g++ version
Тоже столкнулся с данной ошибкой - помогли команды: sudo apt install gcc-7 g++-7 gcc-8 g++-8 gcc-9 g++-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
💬 Description of the bug 🐛 When you use
make install RELEASE=1 DESTDIR=..
in console it gives you this, thus not running the Makefile, and not generating the executable bdlauncher file.CC obj/launcher_exec_server_release.o cc: error: unrecognized command line option '-std=gnu17'; did you mean '-std=gnu11'? Makefile:147: recipe for target 'obj/launcher_exec_server_release.o' failed make: *** [obj/launcher_exec_server_release.o] Error 1
Expected behavior 🤔 The makefile should be ran and the executable bdlauncher file should be generated.
Screenshots 📷
💬 My info:
🤨Additional context I have installed all the requirements in the Install.md (including clang-format). I have followed all the instructions stated in that file as well.