1. RyuShinobi500
    OP

    RyuShinobi500 Coder

    Member
    2
    Oct 25, 2019
    United States
    How do you install opengl?
     
    PineappleGod likes this.
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    24
    Nov 21, 2005
    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.
     
  3. PineappleGod

    PineappleGod Banished God (My name's Piney)

    Member
    2
    Oct 2, 2019
    United States
    Now in GhostLatte's van!
    You should already have it. Why are you asking?
     
  4. LiveLatios

    LiveLatios Profesionnal Scalie

    Member
    9
    Nov 16, 2015
    Canada
    why
    you install it by installing your graphics card driver
     
  5. JustBrandonT

    JustBrandonT Advanced Member

    Newcomer
    3
    Mar 11, 2018
    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.
     
  6. RyuShinobi500
    OP

    RyuShinobi500 Coder

    Member
    2
    Oct 25, 2019
    United States
    thank you so much for your help I wish to use it 3ds homebrew and I believe that Code::Blocks has the header files
     
  7. JustBrandonT

    JustBrandonT Advanced Member

    Newcomer
    3
    Mar 11, 2018
    Canada
    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, Nov 20, 2019
  8. RyuShinobi500
    OP

    RyuShinobi500 Coder

    Member
    2
    Oct 25, 2019
    United States
    Okay thanks
     
Quick Reply
Draft saved Draft deleted
Loading...