The amount of appreciation that i have for your content is unimaginable, thank you so much for the videos I can't recall anybody else doing the same as you at the same level of quality, also do you mind creating a roadmap for game development? I want to see it from your view
If you are having the #include issue: if you've put the glad.h file and the glad.c file in the same directory, rewrite the #include to #include "glad.h" and that should fix it.
That’ll work! Just be aware that it’s mixing third party code with your own code, undermining the point of having a dependencies folder, but I’ve done it in a few of my projects too.
I got the error with #include : no such file or directory found. As some in the comment section when I changed it to #include "glad.h" I got a segmentation fault. I have checked the code and there does not seem to be any error.
Thank you very much, I have been trying to set up a project on my linux laptop for months and had never succeeded. The only solution I had found was to install a virtual machine with windows 7... Anyway small point, on fedora I had an error due to glad, I solved it by changing in the glad.c file "#include
I like what you`re doing so much. You fulfill my perfectionist`s needs of creating programs launched by one command. Thank you It`d ideal to make cross-platform config for OpenGL 🤯
Glad files should be freely available online, I also have them in various repos: github.com/amengede/OpenGL-for-Beginners/tree/main/week%201%20hello%20window/finished/dependencies
It's not meant to be in the src folder though, the point of cmake is to keep the source code, third party dependencies and build folder all separate from one another. CMakeLists.txt is meant to sit in the project folder and manage them all.
Thanks! When I get working on my C++ OpenGL series I'll be supporting it in all operating systems, so this will definitely be making another appearance.
I got the error #include I put this in my cmake target_include_directories(OLG2D PUBLIC src/Dependencys/includes/) but when running the program it says Segmentation fault (core dumped) edit: I already solved it, it was an error in my code #include int main(void) { GLFWwindow* window; if (!glfwInit()) return -1; window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL); if (!window) { glfwTerminate(); return -1; } glfwMakeContextCurrent(window); while (!glfwWindowShouldClose(window)) { glClearColor(0.8f, 0.25f, 0.25f, 0.25f); glClear(GL_COLOR_BUFFER_BIT); glfwSwapBuffers(window); glfwPollEvents(); } glfwTerminate(); return 0; }
Thank you so much, I was having trouble at using glfw, and I was relying on glut, I also learned how to use Cmake, I didn't know how useful was
First time finding a video about anything setting-up-related when it just works.
Thanks I got this working on a chromebook 💀
chromebook gamedev 💀
@@happygofishing fr
this video is a godsend, cmake isn't that bad just explained so cripticly everywhere I've tried to learn how to set up a project
The amount of appreciation that i have for your content is unimaginable, thank you so much for the videos I can't recall anybody else doing the same as you at the same level of quality, also do you mind creating a roadmap for game development? I want to see it from your view
Thankyou, I really appreciate it! A roadmap sounds fun, I'll think about it and see what I can put together. Thanks again!
Does not work, idk why but my cmake refuses to find the glfw package
If you are having the #include issue: if you've put the glad.h file and the glad.c file in the same directory, rewrite the #include to #include "glad.h" and that should fix it.
That’ll work! Just be aware that it’s mixing third party code with your own code, undermining the point of having a dependencies folder, but I’ve done it in a few of my projects too.
@@GetIntoGameDev how would you solve it instead?
Excellent tutorial. Got me up and running on Mint. Had to "apt install cmake" separately and a VS Code restart to get the cmake tools working
I got the error with #include : no such file or directory found. As some in the comment section when I changed it to #include "glad.h" I got a segmentation fault. I have checked the code and there does not seem to be any error.
Can you tell me if there is any update on how to resolve this error? As I'm also getting the same error
this is the friendliest and most concise video on the subject! thank you so much
You’re welcome!
I dont understand anything of what u did but it worked for me so thank alot
Thank you, was almost gave up on trying to learn opengl alltogether
How to create a camera circuit for video pass through on the Oculus quest 2
My god, I couldn't understand anything from other tutorials. Thank you so much.
Thank you very much, I have been trying to set up a project on my linux laptop for months and had never succeeded. The only solution I had found was to install a virtual machine with windows 7... Anyway small point, on fedora I had an error due to glad, I solved it by changing in the glad.c file "#include
Thanks! It definitely is frustrating sometimes, I can’t count the number of times I gave up on projects 🤣
Very awesome and helpful video, thank you! Also I love the sense of humor that's constantly being injected into the video 👍🏻
I spent the last few hours making mistakes until I found this video.
you rock dude, finally a working tutorial on linux. Keep it up )))
Well, there is something I am a bit confused about, do you still need to link OpenGL::GL once you use glad?
I believe OpenGL::GL is still required, as all glad does is fetch procedures. Having said that I may be wrong, try it out!
@@GetIntoGameDev Thanks for the response and the excellent video. Will try it out!
I like what you`re doing so much. You fulfill my perfectionist`s needs of creating programs launched by one command. Thank you
It`d ideal to make cross-platform config for OpenGL 🤯
u kind of look like me and my friend combined - very interesting to see. i'm gonna send this to him
Tell him “look if we had a kid they could look like this”
I cant find the glad.h file?
Ubuntu 20.04
Glad files should be freely available online, I also have them in various repos: github.com/amengede/OpenGL-for-Beginners/tree/main/week%201%20hello%20window/finished/dependencies
Excellent video! Thanks a lot!
hi, where did you get the glad files?
They can be downloaded online via glad's generator site, or they should also be in my repo: github.com/amengede/OpenGL-for-Beginners
@@GetIntoGameDev Thanks!
you have one mistake thats waste my 2 days time which is you make CMakeLists.txt file in my_project not in src 😑😑😑
It's not meant to be in the src folder though, the point of cmake is to keep the source code, third party dependencies and build folder all separate from one another. CMakeLists.txt is meant to sit in the project folder and manage them all.
You mean getting along with the Penguin?... 😏
Thanks for covering the path less trodden! 👍
Thanks! When I get working on my C++ OpenGL series I'll be supporting it in all operating systems, so this will definitely be making another appearance.
@@GetIntoGameDev Looking forward to it!
Excellent video!
Thank you!
You’re welcome!
I got the error #include I put this in my cmake target_include_directories(OLG2D PUBLIC src/Dependencys/includes/)
but when running the program it says Segmentation fault (core dumped)
edit: I already solved it, it was an error in my code
#include
int main(void)
{
GLFWwindow* window;
if (!glfwInit())
return -1;
window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
if (!window)
{
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
while (!glfwWindowShouldClose(window))
{
glClearColor(0.8f, 0.25f, 0.25f, 0.25f);
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwTerminate();
return 0;
}
your my goat!
Nice .
your the best
I'm subscribing.
Windows Tutorial PLS :c
My OpenGL with C++ series has an explanation of how to do it in its first video now!
Hilma Course
75910 Dimitri Shoals
Thanks a lot !
Thank you!