VSC 2022 OpenGL #include

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

260689-screenshot-1.png

C++
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.
3,762 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,956 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 Answers by the question author, which helps users to know the answer solved the author's problem.