我刚刚开始使用Linux (Mint 11),最近,我决定将OpenGL编程作为业余爱好。我发现代码和技术相当简单,但是,我很难把所有的资源都放在正确的位置。守则是:#include <stdio.h>#ifdef __APPLE__
# include <GLUT/glut.h/Libraries/glut-3.7/lib/g
我使用的是GHC8.0.2和模块Graphics.UI.GLUT,其中GLUT的版本是2.7.0.11。建议我使用-prof标志进行编译。但是,我得到以下错误 Perhaps you haven't installed the profilinglibraries for package ‘GLUT-2.7.0.11’?使用,我决定运行
sudo apt-g