title: Google Test include gtest/gtest.h
body: <p>I'm getting started with Google Test for C++. Unfortunately I'm having trouble trying to include the header files. The first line of my little test program sumTest.cpp says</p>
  <pre><code>#include &quot;gtest/gtest.h&quot;
  </code></pre>
  <p>while subTest.cpp is in the same directory as gtest . gtest also contains the directory called internal, which contains gtest-internal.h . When I try to compile subTest.cpp from the terminal, it says</p>
  <blockquote>
  <p>g++ sumTest.cpp
  In file included from sumTest.cpp:1:
  ./gtest/gtest.h:62:10: fatal error: 'gtest/internal/gtest-internal.h' file not found
  #include &quot;gtest/internal/gtest-internal.h&quot;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.</p>
  </blockquote>
  <p>So it finds the file gtest/gtest.h but not the file gtest/internal/gtest-internal.h , which seems strange to me.</p>
  <p>I'm thankful for every kind of help.</p>