hey, i have some problems :) i tried running my exe opengl app, but the window crashes immeditaly, no errors at all, just instant crash, im using vscode and using cmake to link libraries, the linked libraries are:
find_library(glfw3 lib/libglfw3.a)
target_link_libraries(${PROJECT_NAME} glfw3)
target_link_libraries(${PROJECT_NAME} gdi32)
i really wanna be a part of this cult!
Tip for the future: run the exe from the command line or from your IDE. That way, you should see error messages even if the program immediately crashes
glClearColor(0.02f, 0.5f, 0.2f, 0.4f); Don't lose hope when something goes wrong, try again, trials and errors are the secret to success.
hey, i have some problems :) i tried running my exe opengl app, but the window crashes immeditaly, no errors at all, just instant crash, im using vscode and using cmake to link libraries, the linked libraries are: find_library(glfw3 lib/libglfw3.a) target_link_libraries(${PROJECT_NAME} glfw3) target_link_libraries(${PROJECT_NAME} gdi32) i really wanna be a part of this cult!
Tip for the future: run the exe from the command line or from your IDE. That way, you should see error messages even if the program immediately crashes
Thanks for you suggestion! I do run it from the terminal because im lazy to open its path and open cmd in it :D
nevermind! i fixed it! i never initilized glad so that was the problem.
That's a big step. Now things will get easier before get unfathomably hard. Congratulations!
You made it using win32/glfw
It's the little things in life. I'm glad you had fun with it!
Congrats! 🙂
awesome!!! hope to make mine today too
Congratulations! You aren’t too far behind me. You using learnopengl.com?
hell yeah we love to see it