title: VS Code Include Errors Detected. "cannot open source file 'main.h' "
body: <p>This questions might look similar to other questions but nothing I've tried has worked. I'm using a library called PROS for Vex robotics. I get the include detected error where it can't find the <code>main.h</code> file located in the workspace folder. I checked the <code>c_cpp_properties.json</code> to check if the folder was somehow not included.</p>
  <p>Additionally, I tried re-installing VS code, updating the PROS library, making a new project. Nothing seems to be working, maybe I'm just overlooking a simple problem.</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;Mac&quot;,
              &quot;includePath&quot;: [
                  &quot;${workspaceFolder}/**&quot;,
                  &quot;/Users/cjm10000/Desktop/7701X/7701x_code/include&quot;
              ],
              &quot;defines&quot;: [],
              &quot;macFrameworkPath&quot;: [
                  &quot;/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks&quot;
              ],
              &quot;compilerPath&quot;: &quot;/usr/bin/clang&quot;,
              &quot;cStandard&quot;: &quot;c11&quot;,
              &quot;cppStandard&quot;: &quot;c++17&quot;,
              &quot;intelliSenseMode&quot;: &quot;clang-x64&quot;,
              &quot;compileCommands&quot;: &quot;${workspaceFolder}/compile_commands.json&quot;,
              &quot;browse&quot;: {
                  &quot;path&quot;: [
                      &quot;${workspaceFolder}/**&quot;
                  ]
              }
          }
      ],
      &quot;version&quot;: 4
  }
  </code></pre>
  <p>Here's the <a href="https://i.stack.imgur.com/YAeDZ.png" rel="nofollow noreferrer">folder structure</a> and error output:</p>
  <p><img src="https://i.stack.imgur.com/9W44j.png" alt="error output" /></p>