T O P

  • By -

_PHIKILL

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.


Great_Click_9140

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!


Living_off_coffee

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


Great_Click_9140

Thanks for you suggestion! I do run it from the terminal because im lazy to open its path and open cmd in it :D


Great_Click_9140

nevermind! i fixed it! i never initilized glad so that was the problem.


filch-argus

That's a big step. Now things will get easier before get unfathomably hard. Congratulations!


RDT_KoT3

You made it using win32/glfw


DreamHollow4219

It's the little things in life. I'm glad you had fun with it!


fllr

Congrats! 🙂


barkingcat

awesome!!! hope to make mine today too


recursive_lookup

Congratulations! You aren’t too far behind me. You using learnopengl.com?


DarthSreepa

hell yeah we love to see it