Created
October 21, 2020 11:52
-
-
Save zzNuAzz/5331d15d8f0db179f3e4222de58566c9 to your computer and use it in GitHub Desktop.
compile c++ opengl win
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -f draw.exe | |
g++ -c draw.cpp -o temp.out -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" | |
g++ temp.out -o draw.exe -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -static-libstdc++ -static-libgcc -lglu32 -lglut32 -lopengl32 | |
rm -f temp.out | |
draw.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment