你好请帮助我我已经尝试了一切
sudo apt-get -f install
sudo apt-get autoclean
Run Code Online (Sandbox Code Playgroud)
我能找到的所有东西,但是当我执行 make 命令时我仍然收到这些错误
/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXext
/usr/bin/ld: cannot find -lXi
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
您需要多个开发包来构建您的程序。
打开终端并安装以下软件包(因为默认情况下未安装它们):
sudo apt-get install libxmu-dev libxmu-headers freeglut3-dev libxext-dev libxi-dev
Run Code Online (Sandbox Code Playgroud)
然后重新启动您的make过程。