Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: VS 2017 gives error (There are too many errors for IntelliSense..) for #include

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2018
    Posts
    3

    VS 2017 gives error (There are too many errors for IntelliSense..) for #include

    I recently got the OpenGL Superbible 7th edition to start learning OpenGL. I built everything and got all the required files without any problems.
    When I start writing the first example program in Visual Studio 15 2017, I add the include file as it is in the example:

    #include "../../include/sb7.h"

    But as soon as I finish typing that I get a red line on the top left corner and when I hover my mouse pointer on it, it says:

    "There are too many errors for the IntelliSense engine to function properly, some of which may not be visible in the editor"

    I don't understand how there can be "Too many errors" when all I've written is an include file.
    How do I fix this?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2016
    Location
    Ocean Shores, WA USA
    Posts
    108
    Without more info, we may not be able to say, you may want to consider posting this on a Visual Studio 2017 forum.... it could even be a bug that needs to be reported.

    The only real problem that I've had with include files (And they can be fun...) is the file structure, or location of the file, not being able to find the files that it (the include file) references.

    Regards,

    Jeff

    P.S. Check out my youtube channel, if you are interested in opengl, let me know what you think:
    https://www.youtube.com/channel/UCzx..._as=subscriber

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,513
    In my experience, MSVS Intellisense is garbage and with large code bases causes more problems than it solves. I recommend disabling it. If you need something that works, use VisualAssist.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •