jGRASP c ++安装问题无法找到-lfreeglut

时间:2017-04-04 22:39:53

标签: c++ jgrasp

我试图在jGRASP上设置c ++。我知道java程序运行正常。我得到的错误是:

----jGRASP exec: g++ -g -o Project Simulator.exe Project Simulator.cpp -lglu32 -lfreeglut -lopengl32
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lfreeglut
collect2.exe: error: ld returned 1 exit status

----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.

我错过了安装吗?我需要在某处更改路径吗?

1 个答案:

答案 0 :(得分:1)

编译器应该是g ++ -generic

通过设置完成>编译器设置>使用c ++语言的WORKSPACE。