title: codelite unittest++/UnitTest++.h: no such file or directory
body: <p>I am trying to do unit testing with C++/Codelite. I have UnitTest++ plugin installed from codelite-plugins package (Ubuntu 18.04). I can also see this:</p>
  
  <pre><code>$ ls -la /usr/include | grep Unit
  drwxr-xr-x  3 root root   4096 Mar  2 11:47 UnitTest++
  
  $ sudo dpkg -l | grep unittest++
  ii  libunittest++-dev         2.0.0-2      amd64        unit testing framework for c++, static library and headers
  ii  libunittest++2:amd64      2.0.0-2      amd64        unit testing framework for c++, runtime library
  </code></pre>
  
  <p>So I create a test project in Codelite and I add this: </p>
  
  <pre><code>#include &lt;unittest++/UnitTest++.h&gt; // This line and main are auto-created
  
  TEST(SanityTest) 
  {
      CHECK_EQUAL(1, 1);
  }
  
  int main(int argc, char **argv)
  {
      return UnitTest::RunAllTests();
  }
  </code></pre>
  
  <p>Now I would expect test results after I press CTRL+F5. But when I do, I only get a popup window saying there are no tests: </p>
  
  <p><a href="https://i.stack.imgur.com/u7WU2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u7WU2.png" alt="enter image description here"></a></p>
  
  <p>I also noticed that when I go to <strong>Build > Build Project</strong> I get an error message:</p>
  
  <blockquote>
    <p>fatal error: unittest++/UnitTest++.h: No such file or directory</p>
  </blockquote>
  
  <p>I also found <a href="https://stackoverflow.com/questions/42657198/linker-errors-with-codelite-unittest-and-g-on-linux">THIS ANSWER</a> and tried different variation of console commands as per answer/comments there, but I always get the same no such file or directory error. </p>
  
  <p>Any idea what I am missing? </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Build log as per Stephen's Newell request:</p>
  
  <pre><code>/bin/sh -c '/usr/bin/make -j8 -e -f  Makefile'
  ----------Building project:[ Test - Debug ]----------
  make[1]: Entering directory '/home/callmebob/Documents/workspace-codelite/cpp/Test'
  /usr/bin/g++  -c  "/home/callmebob/Documents/workspace-codelite/cpp/Test/main.cpp" -g  -o Debug/main.cpp.o -I. -I/usr/include/unittest++
  /home/callmebob/Documents/workspace-codelite/cpp/Test/main.cpp:1:10: fatal error: unittest++/UnitTest++.h: No such file or directory
   #include "unittest++/UnitTest++.h"
            ^~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  Test.mk:95: recipe for target 'Debug/main.cpp.o' failed
  make[1]: *** [Debug/main.cpp.o] Error 1
  make[1]: Leaving directory '/home/callmebob/Documents/workspace-codelite/cpp/Test'
  Makefile:4: recipe for target 'All' failed
  make: *** [All] Error 2
  ====2 errors, 0 warnings====
  </code></pre>
  
  <p>Also if I right-click the project, go to <strong>Settings > Compiler</strong>, I can see: </p>
  
  <blockquote>
    <p>Included Paths = /usr/include/unittest++</p>
  </blockquote>