How to install OpenGL on Ubuntu 22.04

preview_player
Показать описание
0:00 - Introduction
0:08 - Visual Studio Code installation + packages update
0:44 - Compiler installation
1:01 - libgl + libglfw3 installation
1:35 - Creating the openGl project folder
2:01 - C++ extensions installation
2:19 - glad installation
3:43 - Getting an openGl example program
5:19 - Configuring the build of the project
Рекомендации по теме
Комментарии
Автор

oh my god, you're a total stranger on the internet but I freaking love you, dude

felppo
Автор

I was here to install opengl to start learning QT but I also got to create a triangle in VS Code in my VM ubuntu. Thank you :)

ihsanc
Автор

thank you so much, I tried many tutorials, this was by far the easiest one

barabrainrot
Автор

Thanks for the video.
Is it necessary to create the C++ project after installing the packages, or you just did it for test purpose?

aaanas
Автор

dude thank you this answered all my questions

GoblinCityy
Автор

What would be the compilation command for thus as I'm using neovim, also great video!

Platypus_Wheatabix
Автор

I have followed all steps your video showed but at the end the triangle did not appear.

rodolfovalentim
Автор

#include <GLFW/glfw3.h> syas: #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
cannot open source file "GLFW/glfw3.h"C/C++(1696)

beratmert
Автор

i get undefined reference to every function please help

AlaaBouramdane
Автор

this isnt orking, even after including glad.h, im still getting undefined reference error for all glad and glfw functions

ishananchit
Автор

I sear to god it displayed a fukin square

BackyardFusion
Автор

Where should I move the glad folder if I want to use #include <glad /glad.h>

cybrd