Computer-Graphics
Setup OpenGL on Windows (tested on MinGW):
- Download freeglut
- Move "freeglut.dll" to the "/bin" of your compiler
- Move "/lib" content to the "/lib" of your compiler
- Move "/GL" (from "/include") to the "/include" of your compiler [OPT*]
- Compile using these commands (I made .bat and .sh scripts for it):
- Windows:
- g++ name.cpp -o test.o -c
- g++ test.o -o test.exe -lglu32 -lopengl32 -lfreeglut
- Linux:
- g++ name.cpp -o test -lGL -lGLU -lglut
- Windows:
[OPT*] Also put into the 32 bits version folder, if it still doesn't work