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.
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 :(
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?
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.
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" ```
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\**
@@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
@@gurinderkaur6817 sorry for late reply, glad it help you. for learning videos, you can try this playlist: ruclips.net/p/PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2&si=GWVKx7k3tTTtFDIo
@@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
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
thank you. out of all videos i have tried, this is the only one that helped me the most.
glad it helped
hello mine is showing fatal error: glad/glad.h: No such file or directory
#include please help
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.
thanks for the more detailed hint 😃
can you please tell me the steps to solve this same error i got confused what to do please help :)
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
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 :(
Thank You Bro ,it works
You're welcome!
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?
make sure you copy the generated glad to the directory as in video
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.
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"
```
Thank You
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\**
mantap mas work
holy shit you're a god
it works but sometimes doesn't
make sure to start in the file that has the entry function (main) *if you have multiple files
@@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
@@gurinderkaur6817 sorry for late reply, glad it help you. for learning videos, you can try this playlist: ruclips.net/p/PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2&si=GWVKx7k3tTTtFDIo
@@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
bg tambahin soil bang untuk texture
I also got same error
yes, make sure toolchain, freeglut, etc are installed properly
still showing same error@@atqamz
@@ANJUKUMARI-x2b can you reach me from discord, @kom.u
I'll try to help you 😄