P
P
Pinkman2021-01-12 03:03:54
C++ / C#
Pinkman, 2021-01-12 03:03:54

Where can I find the OpenGL/gl3.h header?

Good afternoon! I ran into a problem, I wrote a program on a poppy with Uncle Vanya's library. He said that for the program to work, you need to link such curiosities: -framework OpenGL -framework AppKit. But for some reason it got into my head to run the program on ubunt and everything stopped working. There is no Uncle Vanya and there is no understanding of what is needed to launch the program either. The compiler writes (when compiling on a bootloader): there is no such file #include OpenGL/gl3.h
What to do is not clear. Where can I get such a file? I tried to change the header to GL/gl.h, but this resulted in 10 scrolls with the mouse wheel.
P.s. I was told to install dependencies which I did. Installed some nonsense sudo apt-get install xorg libxext-dev zlib1g-devStill does not work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pinkman, 2021-01-12
@famousman204

I decided, I downloaded the lib from the git for Linux)

S
Sergey Karbivnichy, 2021-01-12
@hottabxp

sudo apt-get install build-essential libgl1-mesa-dev
Try connecting like this:
#include <GL/gl.h>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question