我試圖爲freeglut庫生成lib文件。我已經安裝了Cygwin,並根據隨附庫README文件,./configure:沒有這樣的文件或目錄cygwin Freeglut
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
有什麼我需要安裝才能解決這個問題?該文件夾的內容沒有配置。這些文件的文件夾中
似乎自述文件已過時,CMakeList的存在表明它們轉移到了'cmake' – matzeri
@matzeri,但最後一次更新是在2016! – CroCo
,但README.cygwin的日期是2012年。 – matzeri