CLang intellisense could not find headers

Sysprogs forums Forums VisualGDB CLang intellisense could not find headers

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7289
    SchodMC
    Participant

    Hi folks,

    I have a problem with Visual GDB and CLANG Intellisense. The normal intellisense finds all of the uses includes, because I set the include path to that files as well as some intellisense include search path. However, when I switch to use CLANG intellisense, I get a lot of errors of undefined classes, defines, includes files that could not be found.

    One solution I found was, to add that directories inside the VisualGDB Intellisense settings. But there I only can enter an absolut path. But we at our company using a system wide variable to point to the root of our build system with the GCC headers. And it seems that I’m not be able to set that variable inside the intellisense settings of VisualGDB. That’s right?

    Now, what can I do?

    Greetings

    Marc

    #7300
    support
    Keymaster

    Hi,

    As a temporary workaround we would suggest creating a symbolic link to the shared header directory near your project directory, e.g.:

    cd <project>\..
    mklink /d includes c:\common-include-dir

    Then you can specify the relative path to the directory (e.g. ..\includes) on the IntelliSense page of VisualGDB Project Properties.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.