You need to place the linker options to the end of the compile command, like so: g++ main.cpp -o main -lGL -lGLU -lglut.
確定! 回上一頁