Just installed Netbeans and the c++ plugin, but brand new main file already has a error
HI
I recently purchased a netbook for the purpose of being able to code whilst away from home, and everything is pretty dandy, I installed Kubuntu and then netbeans, as netbeans seems to be the better IDE available for linux. I installed the c++ plugin and started a new project, and the IDE is already giving a error:
#include <cstdlib>
The IDE says it can't find cstdlib which would be apart of the standard library i thought
any help on installing the standard library or this cstdlib would be much appreciated, it doesn开发者_StackOverflowt look good when a default simple file already has errors
Did you install the C++ compiler and its headers as well? By default Ubuntu installs do not have g++ installed. The following command will install stuff essential for development in Ubuntu, like gcc, g++, and headers, and make
.
sudo apt-get install build-essential
I had the same problem and just get the latest update (Tools > Plugins) solved it.
精彩评论