且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

安装Xquartz后在Mac上找不到致命错误'GL/glx.h'文件

更新时间:2023-09-26 18:51:04

您需要使用选项 -I/opt/X11/include 进行编译,并使用选项 -L/进行链接opt/X11/lib -lGL -lX11 .

You need to compile with the option -I/opt/X11/include and link with the options -L/opt/X11/lib -lGL -lX11.