VSC 2022 OpenGL #include

nguyettuhan 41 Reputation points
2022-11-16T05:55:46.063+00:00

260689-screenshot-1.png

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Castorix31 91,511 Reputation points
    2022-11-16T07:28:50.19+00:00

    glut.h must be in additional directories

    For example, I have installed FreeGlut then I added in :
    [C/C+] [General] [Additional Include Directories]
    E:\Tools\Programming\freeglut-3.2.1\include\GL
    then I can do

    #include <glut.h>  
    

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.