OpenGL

  • Thread starter Deleted User
  • Start date
  • Views 1,196
  • Replies 7
  • Likes 1

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
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.
 

JustBrandonT

Well-Known Member
Newcomer
Joined
Mar 11, 2018
Messages
75
Trophies
0
Age
34
XP
518
Country
Canada
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.
 
D

Deleted User

Guest
OP
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
 

JustBrandonT

Well-Known Member
Newcomer
Joined
Mar 11, 2018
Messages
75
Trophies
0
Age
34
XP
518
Country
Canada
thank you so much for your help I wish to use it 3ds homebrew and I believe that Code::Blocks has the header files

Codeblocks is just an IDE. Your compiler will have to have it. If you're using mingw, you have to manually download the headers and place it in the Mingw include folder (at least on Windows). On Linux this isn't necessary. :)

Not sure about compiling for 3DS tbh, but yeah, the headers are from the above links if on windows and above terminal command if on Linux. On MacOS it's already included with Xcode.

Only windows requires this manual work and placing them in the right location so it can be found. Otherwise you'd have to modify project settings -> compiler options and add the path to the headers.
 
Last edited by JustBrandonT,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs