Setup C++ OpenGL in VSCode (Windows)

  Рет қаралды 6,107

Atqa Munzir

Atqa Munzir

Күн бұрын

Пікірлер: 30
@mohamedhussien2101
@mohamedhussien2101 25 күн бұрын
Great Great thanks for helping me to do it Note for friends here : don't forget to restart VS code to detect the path thanks
@rune4731
@rune4731 3 ай бұрын
thank you. out of all videos i have tried, this is the only one that helped me the most.
@atqamz
@atqamz 3 ай бұрын
glad it helped
@thevman4559
@thevman4559 7 ай бұрын
hello mine is showing fatal error: glad/glad.h: No such file or directory #include please help
@Fulllua
@Fulllua 7 ай бұрын
I encountered the error, 'GL/glut.h: No such file or directory #include '. To resolve it, I checked if the directories were correct on my computer. In my case, I had to replace one directory with 'C:\msys64\mingw64\bin'. Check where the mingw\bin is located on your computer and add it to the PATH.
@atqamz
@atqamz 7 ай бұрын
thanks for the more detailed hint 😃
@vanshsrivastava5808
@vanshsrivastava5808 4 ай бұрын
can you please tell me the steps to solve this same error i got confused what to do please help :)
@felixramonarnosnavarro9737
@felixramonarnosnavarro9737 2 ай бұрын
a mi desde vscode no me queria correr pero ejecutando el comando desde el terminal de MYS2 donde instale todo si se ejecuta el archivo main.exe
@cecilial.201
@cecilial.201 7 ай бұрын
Tuve un inconveniente porque igual me salía error en #include , pero lo solucioné así: Archivo -> Preferencias -> Configuración, y en la barra de búsqueda escribir includepath. En las opciones donde pueda agregar una ruta insertar la ruta raíz que contiene a GL/glut.h, en mi caso era C:\msys64\mingw64\include\**
@OmarSayed000
@OmarSayed000 9 ай бұрын
Thank You Bro ,it works
@atqamz
@atqamz 9 ай бұрын
You're welcome!
@thevman4559
@thevman4559 7 ай бұрын
its showing no such file or directory glad.h :( plss help i m being mad at this from 2-3 days pls help its not showing include error but showing no such file or directory glad.h :( i tried a lot but :(
@sara-bp7bc
@sara-bp7bc 7 ай бұрын
Thank you for a helpful video! However, I get the errors: fatal error: glad/glad.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. error: 'gl' does not name a type gl Can you help me fix these errors?
@atqamz
@atqamz 7 ай бұрын
make sure you copy the generated glad to the directory as in video
@pragyanchakravarty765
@pragyanchakravarty765 18 күн бұрын
Thank You
@aditisharma3948
@aditisharma3948 8 ай бұрын
hello i wanted to tell you that i wanted to run a c code but it's not running and errors are coming up, but c++ code are running fine. i hope you can do something about it.
@atqamz
@atqamz 8 ай бұрын
hello, can you reach me out through my discord, kom.u or you can try to add this code below in settings > code-runner.executorMap ``` "c": "cd $dir && gcc $env:MSYS2/mingw64/include/glad/glad.c (Get-ChildItem -Path . -Filter *.c -Recurse).FullName -o main -lopengl32 -lfreeglut -lglu32 -lglew32 -lglfw3 -lgdi32 -lmingw32 && ./main" ```
@idontknowwhatimdoing32
@idontknowwhatimdoing32 7 ай бұрын
holy shit you're a god
@sound_rimba4330
@sound_rimba4330 6 ай бұрын
bg tambahin soil bang untuk texture
@alief8081
@alief8081 7 ай бұрын
mantap mas work
@gurinderkaur6817
@gurinderkaur6817 8 ай бұрын
it works but sometimes doesn't
@atqamz
@atqamz 8 ай бұрын
make sure to start in the file that has the entry function (main) *if you have multiple files
@gurinderkaur6817
@gurinderkaur6817 8 ай бұрын
@@atqamz i want to thank you , i have been trying to install it for about a week , after seeing so many youtube videos , only yours worked for me , so m so grateful that you made such a detailed video with steps , now i can finally learn opengl, please suggest me some good online source eg(youtube or any site ) to learn opengl , as i have to make y final year project using opengl , i have been thinking of making a 3d classroom
@atqamz
@atqamz 8 ай бұрын
@@gurinderkaur6817 sorry for late reply, glad it help you. for learning videos, you can try this playlist: kzbin.info/aero/PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2&si=GWVKx7k3tTTtFDIo
@TushitaGupta-xo7co
@TushitaGupta-xo7co 2 ай бұрын
@@atqamz please elaborate this a bit more, i am trying to run the code but all of the files are running simultaneously showing No such file directory error. please help
@ANJUKUMARI-x2b
@ANJUKUMARI-x2b 10 ай бұрын
I also got same error
@atqamz
@atqamz 10 ай бұрын
yes, make sure toolchain, freeglut, etc are installed properly
@ANJUKUMARI-x2b
@ANJUKUMARI-x2b 10 ай бұрын
still showing same error@@atqamz
@atqamz
@atqamz 10 ай бұрын
@@ANJUKUMARI-x2b can you reach me from discord, @kom.u I'll try to help you 😄
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 155 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 651 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 214 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 204 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 910 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins (EzeeLinux)
Рет қаралды 2,3 МЛН
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 327 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 264 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19