我正在学习在Ubuntu 16.04中使用Ubuntu SDK(从PPA安装)为Ubuntu Touch创建一个Scope。
我从模板创建了一个C ++ Scope。当我尝试运行时,出现此错误:
CMAKE_CXX_COMPILER: /usr/bin/arm-linux-gnueabihf-g++ is not a full path to an existing compiler tool. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
拜托,我该如何解决?我已经安装了build-essential和g ++软件包。
该文件/usr/bin/arm-linux-gnueabihf-g++
由package g++-arm-linux-gnueabihf
(用于armhf体系结构的GNU C ++编译器)提供。因此,只需安装它:
sudo apt-get install g++-arm-linux-gnueabihf
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句