Jump to content

Open GL 4.5 Setup

Guest

TL;DR

step by step presuming I’m brain dead guide on how to setup OpenGL 4.5 on windows 10 VS 2017 or compiler, IDE & OpenGL project on Linux mint 19. 

 

Long:

just got the open GL superbible 7th Edition & it doesn’t say how to setup a project. 

I tried following some Khoros group guides & other sites but things are either outdated or vague/incomplete. 

I’m really excited to learn Open GL but I don’t know how to setup the project. One source said Open GL is just built into visual studio but I couldn’t just


#include <GL>

#include “opengl.h”

or whatever. 

I started with an empty c++ project in visual studio 2017 community edition. 

Link to comment
Share on other sites

Link to post
Share on other sites

OpenGL is apart of your video card driver so yes its apart of visual studio or any other IDE. However there is no API it is a specification so its up to you manually load functions through a platform specific API call or use a extension loading library like GLEW. 

 

In reality you should almost never be using the GL header as unless you have a good reason to manually load functions its useless. 

 

Here is some tutorials I found. I can't say what the quality of them is as I have never used them but they probably could get you started.

 

https://learnopengl.com/Introduction

http://ogldev.atspace.co.uk/index.html

http://www.rastertek.com/tutgl40.html

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×