title: How to setup "include path" in vscode to compile c++
body: <p>I am on Ubuntu 20.04 using Vscode.</p>
  <p>I'm trying to compile files got here</p>
  <p><a href="https://developer.gnome.org/gtkmm-tutorial/stable/sec-dialogs-filechooserdialog.html.fr" rel="nofollow noreferrer">Dialog Box</a></p>
  <p>I type this in a terminal</p>
  <pre><code>g++ main.cpp examplewindow.cpp -o WindowBox11 -v -std=c++0x `pkg-config gtkmm-3.0 --cflags --libs`
  </code></pre>
  <p>and it compiles fine.</p>
  <p>But doesn't work with Vscode.</p>
  <p>This is my c_cpp_properties.json file</p>
  <pre><code>{
  &quot;configurations&quot;: [
      {
          &quot;name&quot;: &quot;Linux&quot;,
          &quot;includePath&quot;: [
              &quot;${workspaceFolder}/**&quot;,
              &quot;/usr/include/gtkmm-3.0&quot;,
              &quot;/usr/include/**&quot;
          ],
          &quot;defines&quot;: [],
          &quot;compilerPath&quot;: &quot;/usr/bin/g++&quot;,
          &quot;cStandard&quot;: &quot;gnu18&quot;,
          &quot;cppStandard&quot;: &quot;gnu++14&quot;,
          &quot;intelliSenseMode&quot;: &quot;gcc-x64&quot;,
          &quot;compilerArgs&quot;: [
              &quot;-std=c++0x&quot;,
              &quot;`pkg-config gtkmm-3.0 --cflags --libs`&quot;,
              &quot;-v&quot;
          ]
      }
  ],
  &quot;version&quot;: 4
  </code></pre>
  <p>}</p>
  <p>and tasks.json file</p>
  <pre><code>{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  &quot;version&quot;: &quot;2.0.0&quot;,
  &quot;tasks&quot;: [
      {
          &quot;label&quot;: &quot;build &amp; run&quot;,     //It's name of the task , you can have several tasks 
          &quot;type&quot;: &quot;shell&quot;,    //type can be either 'shell' or 'process' , more details will be given below
          &quot;command&quot;: &quot;g++&quot;,   
          &quot;args&quot;: [
              &quot;-g&quot;,   //gnu debugging flag , only necessary if you want to perform debugging on file  
              &quot;${file}&quot;,  //${file} gives full path of the file
              &quot;-o&quot;,   
              &quot;${workspaceFolder}\\build\\${fileBasenameNoExtension}&quot;,    //output file name
              &quot;&amp;&amp;&quot;,   //to join building and running of the file
              &quot;${workspaceFolder}\\build\\${fileBasenameNoExtension}&quot;,
                         ],
          &quot;group&quot;: {
              &quot;kind&quot;: &quot;build&quot;,    //defines to which group the task belongs
              &quot;isDefault&quot;: true
          },
          &quot;presentation&quot;: {   //Explained in detail below
              &quot;echo&quot;: false,
              &quot;reveal&quot;: &quot;always&quot;,
              &quot;focus&quot;: true,
              &quot;panel&quot;: &quot;shared&quot;,
              &quot;clear&quot;: false,
              &quot;showReuseMessage&quot;: false
          },
          &quot;problemMatcher&quot;: &quot;$gcc&quot;
      },
  ]
  </code></pre>
  <p>}</p>
  <p>Compiling with Vscode i got these errors
  <a href="https://i.stack.imgur.com/y1x7r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y1x7r.png" alt="Error in Terminal" /></a></p>
  <p>Any ideas what to ?</p>