I am just getting started with learning OpenGL. I am struggling to setup my environment. This is what I did do far:
I am using following command to compile a simple opengl code:
g++ test.cpp glad/glad.c -I/Library/Frameworks/SDL2.framework/Headers -F/Library/Frameworks -framework SDL2
Can someone please help me out ? Not sure what I'm missing.
brew install SDL2
brew install SDL2_image
brew install SDL2_ttf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With