简体   繁体   English

使用MSYS构建GLEW:找不到X11

[英]Building GLEW with MSYS: X11 not found

When trying to make GLEW with MSYS, I'm getting the following error: 尝试使用MSYS制作GLEW时,出现以下错误:

In file included from src/glew.c:37:0:
include/GL/glxew.h:97:22: fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>

compilation terminated.
make: *** [tmp/mingw/default/shared/glew.o] Error 1

Why? 为什么?

MSYS does not have X11. MSYS没有X11。 It's * M *inimal SYStem for a reason. 这是* M *最小系统。 You want Cygwin . 您想要Cygwin

Or if you want to keep things Win32 native without Cygwin, take a look at Xming . 或者,如果您想使Win32本身不使用Cygwin,则请查看Xming

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM