1

尝试使用 Cygwin 构建 GLEW 时,出现以下错误:

$ make
cc -DGLEW_NO_GLU -O2 -Wall -W -Iinclude   -o tmp/cygwin/defau
 src/glew.c
In file included from src/glew.c:37:0:
include/GL/glxew.h:97:22: fatal error: X11/Xlib.h: No such fi
compilation terminated.
Makefile:122: recipe for target `tmp/cygwin/default/shared/gl
make: *** [tmp/cygwin/default/shared/glew.o] Error 1

这可能是什么原因造成的?

4

0 回答 0