Closed vzlomka76 closed 7 years ago
Install the correct gcc version with codecvt support, then make:
$sudo add-apt-repository ppa:ubuntu-toolchain-r/test $sudo apt-get update $sudo apt-get install g++-5 $sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1 $sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 $cd mcpelauncher-linux/ $cmake . $make
I've follow your instructions and that don't work !
Did you updated the alternatives after installing the latest g++ and gcc? What is your error message?
i installed ubuntu 16.04 and I no longer see this error
include
compilation terminated. make[2]: [CMakeFiles/mcpelauncher.dir/src/main.cpp.o] Ошибка 1 make[1]: [CMakeFiles/mcpelauncher.dir/all] Ошибка 2 make: *** [all] Ошибка 2 anton@AntonNotebook:~/Рабочий стол/MinecraftPE$ make [ 4%] Building CXX object CMakeFiles/mcpelauncher.dir/src/main.cpp.o /home/anton/Рабочий стол/MinecraftPE/src/main.cpp:9:19: fatal error: codecvt: Нет такого файла или каталога
include
compilation terminated. make[2]: [CMakeFiles/mcpelauncher.dir/src/main.cpp.o] Ошибка 1 make[1]: [CMakeFiles/mcpelauncher.dir/all] Ошибка 2 make: *** [all] Ошибка 2 anton@AntonNotebook:~/Рабочий стол/MinecraftPE$ `
Core: Intel core i5 7200U Graphic: Amd radeon m445 System: Ubuntu 14.04 LTS
cmake .
was successfull