【问题标题】:Building GLEW with MSYS: X11 not found使用 MSYS 构建 GLEW:未找到 X11
【发布时间】:2013-12-10 15:17:43
【问题描述】:

尝试使用 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

为什么?

【问题讨论】:

  • 你使用的是cygwin?安装 X11 开发包。
  • @LessJemai 找到解决方案了吗?
  • 没有,刚回到VS。

标签: c++ makefile gnu glew msys


【解决方案1】:

MSYS 没有 X11。它是*M*初始系统是有原因的。你想要Cygwin

或者,如果您想在没有 Cygwin 的情况下保持 Win32 原生,请查看 Xming

【讨论】:

    猜你喜欢
    • 2013-08-28
    • 2021-10-22
    • 2021-04-15
    • 2014-01-10
    • 1970-01-01
    • 1970-01-01
    • 2022-07-11
    • 2015-10-15
    • 2014-09-10
    相关资源
    最近更新 更多