./configure:没有这样的文件或目录cygwin Freeglut

时间:2017-04-20 11:30:25

标签: cygwin configure freeglut

我正在尝试为freeglut库生成lib文件。我已经安装了cygwin并根据库附带的README文件

Building and Installing the Libraries with Cygwin
=================================================

To build "freeglut" under Cygwin, you have two choices:

- You can build a normal Cygwin library, which depends on Cygwin's X11
  libraries. To do this, you can just use the normal autotools incantation:
      ./configure && make install

- Alternatively, you can build a DLL which does not depend on X11 and links
  against the opengl32 DLL. To do this, configure need a few more flags:
      ./configure CPPFLAGS=-mno-cygwin LDFLAGS=-mno-cygwin --without-x && make install


If you don't have MSVC, Open Watcom or Cygwin
=============================================

但是如果我运行./configure,我就会收到此错误

$ ./configure CPPFLAGS=-mno-cygwin LDFLAGS=-mno-cygwin --without-x && make install
-bash: ./configure: No such file or directory

为了解决这个问题,我需要安装一些东西吗?文件夹的内容没有配置。这些是文件夹

中的文件

enter image description here

1 个答案:

答案 0 :(得分:1)

如果您需要freeglut,则需要安装cygwin包libglut-devel

setup.ini里面找到它的描述:

  

libglut函数-devel的
  sdesc:" OpenGL实用工具包库"
  ldesc:" freeglut   是OpenGL Utility Toolkit的完全OpenSourced替代品   (GLUT)库。 GLUT最初由Mark Kilgard撰写,以支持   第二版OpenGL' RedBook'中的示例程序。以来   然后,GLUT已被广泛用于各种实际应用中   因为它简单,广泛可用且便于携带。 GLUT(和   因此freeglut)允许用户创建和管理窗口   在各种平台上包含OpenGL上下文并且还可以读取   鼠标,键盘和操纵杆功能。"
  类别:X11