0

I wanted to create a cppUnit Test in netbeans but however it states

cpp unit library not found test compilation might fail 

I have tried this command

sudo apt-get build-dep libcppunit-dev

but it stil shows

cpp unit library not found test compilation might fail

what should I do to get rid of it?

I am using ubuntu ver 13.04

user2947249
  • 187
  • 2
  • 3
  • 11
  • possible duplicate of [Step by step instructions for getting cppunit up and running with Netbeans 7.2 on OS X 10.8 Mountain Lion](http://stackoverflow.com/questions/12666755/step-by-step-instructions-for-getting-cppunit-up-and-running-with-netbeans-7-2-o) – Robin Green Jan 12 '14 at 13:04
  • @RobinGreen I wonder how is that duplicate when his OS is MAC and mine is ubuntu – user2947249 Jan 12 '14 at 13:10
  • sure but the instructions should work if you ignore the XCode stuff. – Robin Green Jan 12 '14 at 13:12
  • I am having another problem again. after installing the warning message disappears but my netbeans cannot find those include file that is . any ideas of what should I do? – user2947249 Jan 12 '14 at 14:21
  • They were probably installed into `/usr/local/include` instead of `/usr/include`. – Robin Green Jan 12 '14 at 15:08
  • I checked my /usr/include has nth but I did see that my /usr/local/lib contains some libcppunit files – user2947249 Jan 12 '14 at 15:18
  • What about /usr/local/include? I think the header files should be there. – Robin Green Jan 12 '14 at 19:29
  • i don't see any cppunit header files as well. am i missing out anything? – user2947249 Jan 12 '14 at 23:32

1 Answers1

-1

Open terminal and try this command:

sudo apt-get install g++

thus you can compile cpp codes in terminal.

alozta
  • 1
  • 2