我写了一个可以在Windows上运行的程序
import Graphics.UI.GLUT
import Graphics.Rendering.OpenGL
main = do
getArgsAndInitialize
createWindow "Black Window"
mainLoop
我的Mac在我进行GHC时会给我以下信息:
ld: warning: text-based stub file
/System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library
file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of
sync. Falling back to library file for linking.