找不到cpp单元库测试编译可能失败-ubuntu

找不到cpp单元库测试编译可能失败-ubuntu,ubuntu,netbeans,cppunit,Ubuntu,Netbeans,Cppunit,我想在netbeans中创建一个单元测试,但是 cpp unit library not found test compilation might fail 我试过这个命令 sudo apt-get build-dep libcppunit-dev 但它仍然显示 cpp unit library not found test compilation might fail 我该怎么做才能摆脱它 我正在使用Ubuntu13.04版打开终端并尝试以下命令: sudo apt-get insta

我想在netbeans中创建一个单元测试,但是

cpp unit library not found test compilation might fail 
我试过这个命令

sudo apt-get build-dep libcppunit-dev
但它仍然显示

cpp unit library not found test compilation might fail
我该怎么做才能摆脱它


我正在使用Ubuntu13.04版打开终端并尝试以下命令:

sudo apt-get install g++

因此,您可以在终端中编译cpp代码。

可能重复@RobinGreen。我想知道,当他的操作系统是MAC,而我的操作系统是ubuntusure时,这种重复是如何产生的,但如果您忽略XCode的内容,说明应该会起作用。好的,谢谢您,我又遇到了另一个问题。安装后,警告消息消失,但我的netbeans找不到已安装的包含文件。我该怎么办?