D
Deleted User
Guest
OP
sudo apt-get install libgl1-mesa-glx libgl1-mesa-dev
You don't.
OpenGL is a standard various graphics card and graphics software people can choose to play to or engage with. Not so popular in games, though there are some, but more in professional software.
Way back when there might have been graphics card drivers aimed at taking advantage of it more than stock ones but I have not seen that outside professional graphics cards for many many years at this point.
There might be development environments aimed at working with it, and tests of GPU abilities using it, but for the most part it is a feature of your hardware rather than anything you install.
You should already have it. Why are you asking?
you install it by installing your graphics card driver
If you are installing it for development, you either get the headers with the compiler, OR you get it from kronos website OR from terminal..
On Ubuntu you do:
Code:sudo apt-get install libgl1-mesa-glx libgl1-mesa-dev
On Windows you get them at:
https://www.khronos.org/registry/OpenGL/api/GL/
otherwise they will come with your compiler or ide (Mingw gcc/g++ or clang/clang++ or xcode).
Otherwise, if it's NOT for development, then it's already installed with your OS by default. However, if you are using the default, then some features may not work until you install a proper GPU driver.
thank you so much for your help I wish to use it 3ds homebrew and I believe that Code::Blocks has the header files