C++ compiler cannot create executables on Ubuntu
时间:2011-01-08 来源:xiaokaizi
If you get the following error message when trying to compile some software application on Ubuntu (or Kubuntu or Xubuntu or similar) then you need to install the "build-essential" packages.
You'll get some output like this, after which you should be able to continue trying to compile your software package
在论坛搜了很多,都说是编译环境没弄好,
sudo apt-get install build-essential
sudo apt-get install gcc
sudo apt-get install g++
都试过了,都说我是最新的版本,还是一样出错。
C++ compiler cannot create executables
This is simply a matter of opening up a command line prompt (but then
you were already there if you were trying to compile something) and
issue the following command:
sudo apt-get install build-essential
You'll get some output like this, after which you should be able to continue trying to compile your software package
在论坛搜了很多,都说是编译环境没弄好,
sudo apt-get install build-essential
sudo apt-get install gcc
sudo apt-get install g++
都试过了,都说我是最新的版本,还是一样出错。
相关阅读 更多 +