
Installing the Devel package in Cygwin indeed solved my problem. Now I'm
stuck in the following problem:
checking for GL/glut.h... no
configure: error: GLUT header not found
I tryied to add the dir where glut.h is located to cygwin path, but this did
not solve the problem... any suggestions? (config.log is attached).
I think another thing is wrong: the gl libs were not found:
checking for library containing glEnd... no
checking for library containing gluNewQuadric... no
checking for library containing glXWaitX... no
checking for library containing glutMainLoop... no
I also wonder if these are the most recent versions of GL/GLU:
checking GL version... 1.0
checking GLU version... 1.1
Thanks a lot,
-- Andre
----- Original Message -----
From: "Ronald Legere"
Andre, It sounds like you are missing some package or another in cygwin...did you install the Devel group stuff? None of this is automatic with cygwin, and I keep screwing it up, so thats why I suspect this ;) Look it setup.log (generated when cygwin installs.) Mine is attached for comparison..
Cheers!
===== ------------------------------------- Ronald Legere rjljr2@yahoo.com -------------------------------------
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
---------------------------------------------------------------------------- ----
2001/11/13 07:57:08 Starting cygwin install, version 2.78.2.15 Current Directory: C:\Documents and Settings\legere\My Documents\forhome source: network install Selected local directory: C:\Documents and Settings\legere\My Documents\forhome root: C:\cygwin binary system net: Proxy site: ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin Downloaded latest/ash/ash-20011018-1.tar.bz2 Downloaded latest/autoconf/autoconf-2.52-1.tar.bz2 Downloaded latest/automake/automake-1.5-1.tar.bz2 Downloaded latest/bash/bash-2.05-8.tar.bz2 Downloaded latest/binutils/binutils-20011002-1.tar.bz2 Downloaded latest/bison/bison-1.28-1.tar.gz Downloaded latest/byacc/byacc.tar.gz Downloaded latest/bzip2/bzip2-1.0.1-6.tar.gz Downloaded latest/clear/clear-1.0.tar.gz Downloaded latest/cpio/cpio-2.4.2.tar.gz Downloaded contrib/cron/cron-3.0.1-5.tar.bz2 Downloaded latest/crypt/crypt-1.0-1.tar.gz Downloaded latest/ctags/ctags-5.0.1-1.tar.gz Downloaded contrib/cvs/cvs-1.11.0-1.tar.gz Downloaded latest/cygrunsrv/cygrunsrv-0.94-2.tar.bz2 Downloaded latest/cygwin/cygwin-1.3.5-2.tar.bz2 Downloaded latest/dejagnu/dejagnu-20010117-1.tar.gz Downloaded latest/diff/diff.tar.gz Downloaded latest/expect/expect-20010117-1.tar.gz Downloaded latest/file/file-3.33-1.tar.gz Downloaded latest/fileutils/fileutils-4.1-1.tar.bz2 Downloaded latest/findutils/findutils.tar.gz Downloaded latest/flex/flex-2.5.4-1.tar.gz Downloaded latest/gawk/gawk-3.0.4-1.tar.gz Downloaded latest/gcc/gcc-2.95.3-5.tar.bz2 Downloaded latest/gdb/gdb-20010428-3.tar.bz2 Downloaded contrib/gdbm/gdbm-1.8.0-3.tar.gz Downloaded contrib/gettext/gettext-0.10.38-2.tar.bz2 Downloaded contrib/ghostscript/ghostscript-6.51-1.tar.bz2 Downloaded latest/gperf/gperf.tar.gz Downloaded latest/grep/grep-2.4.2-1.tar.gz Downloaded latest/groff/groff-1.16.1-1.tar.gz Downloaded latest/gzip/gzip-1.3-1.tar.gz Downloaded latest/inetutils/inetutils-1.3.2-15.tar.bz2 Downloaded contrib/irc/irc-20010101-1.tar.gz Downloaded contrib/jbigkit/jbigkit-1.2-4.tar.bz2 Downloaded contrib/jpeg/jpeg-6b-4.tar.gz Downloaded latest/less/less-358-3.tar.gz Downloaded latest/ncurses/libncurses5/libncurses5-5.2-1.tar.bz2 Downloaded latest/ncurses/libncurses6/libncurses6-5.2-2.tar.bz2 Downloaded contrib/libpng/libpng-1.0.11-1.tar.gz Downloaded latest/login/login-1.4-2.tar.gz Downloaded contrib/lynx/lynx-2.8.4-1.tar.bz2 Downloaded latest/m4/m4.tar.gz Downloaded latest/make/make-3.79.1-4.tar.bz2 Downloaded latest/man/man-1.5g-2.tar.gz Downloaded latest/mingw/mingw-20010917-1.tar.gz Downloaded latest/mingw-runtime/mingw-runtime-1.1-1.tar.bz2 Downloaded latest/mt/mt-1.9.2-1.tar.bz2 Downloaded contrib/mutt/mutt-1.2.5i-5.tar.bz2 Downloaded contrib/ncftp/ncftp-3.0.2-2.tar.gz Downloaded latest/ncurses/ncurses-5.2-7.tar.bz2 Downloaded latest/newlib-man/newlib-man-20001118-1.tar.bz2 Downloaded latest/opengl/opengl-1.1.0-5.tar.gz Downloaded latest/openssh/openssh-3.0p1-1.tar.bz2 Downloaded latest/openssl/openssl-0.9.6b-1.tar.bz2 Downloaded latest/patch/patch-2.5-2.tar.gz Downloaded latest/pcre/pcre-3.4-2.tar.gz Downloaded contrib/perl/perl-5.6.1-2.tar.bz2 Downloaded contrib/popt/popt-1.6.1-1.tar.gz Downloaded contrib/postgresql/postgresql-7.1.3-1.tar.bz2 Downloaded contrib/python/python-2.1.1-2.tar.bz2 Downloaded contrib/readline/readline-4.2-3.tar.bz2 Downloaded latest/regex/regex-4.4.tar.gz Downloaded contrib/rsync/rsync-2.4.6-2.tar.bz2 Downloaded contrib/rxvt/rxvt-2.7.2-6.tar.gz Downloaded latest/sed/sed-3.02-1.tar.gz Downloaded latest/sh-utils/sh-utils-2.0-2.tar.gz Downloaded contrib/squid/squid-2.4-STABLE20010508.tar.gz Downloaded contrib/ssmtp/ssmtp-2.38.7-3.tar.bz2 Downloaded latest/tar/tar-1.13.19-1.tar.gz Downloaded latest/tcltk/tcltk-20001125-1.tar.gz Downloaded contrib/tcsh/tcsh-6.10.00-3.tar.gz Downloaded latest/termcap/termcap-20010825-1.tar.bz2 Downloaded latest/terminfo/terminfo-5.2-1.tar.bz2 Downloaded contrib/tetex/tetex-beta-20001218-1.tar.gz Downloaded latest/texinfo/texinfo-4.0-4.tar.gz Downloaded latest/textutils/textutils-2.0.16-1.tar.bz2 Downloaded contrib/tiff/tiff-3.5.6beta-2.tar.gz Downloaded latest/time/time-1.7-1.tar.bz2 Downloaded contrib/unzip/unzip-5.41-1.tar.gz Downloaded latest/vim/vim-6.0.93-1.tar.bz2 Downloaded latest/w32api/w32api-1.1-1.tar.bz2 Downloaded contrib/wget/wget-1.7-1.tar.bz2 Downloaded latest/which/which-1.4.tar.gz Downloaded contrib/xpm-nox/xpm-nox-4.1.0-1.tar.bz2 Downloaded contrib/zip/zip-2.3-1.tar.gz Downloaded latest/zlib/zlib-1.1.3-6.tar.gz Installing...latest/ash/ash-20011018-1.tar.bz2 Installing...latest/autoconf/autoconf-2.52-1.tar.bz2 Installing...latest/automake/automake-1.5-1.tar.bz2 Installing...latest/bash/bash-2.05-8.tar.bz2 Installing...latest/binutils/binutils-20011002-1.tar.bz2 Installing...latest/bison/bison-1.28-1.tar.gz Installing...latest/byacc/byacc.tar.gz Installing...latest/bzip2/bzip2-1.0.1-6.tar.gz Installing...latest/clear/clear-1.0.tar.gz Installing...latest/cpio/cpio-2.4.2.tar.gz Installing...contrib/cron/cron-3.0.1-5.tar.bz2 Installing...latest/crypt/crypt-1.0-1.tar.gz Installing...latest/ctags/ctags-5.0.1-1.tar.gz Installing...contrib/cvs/cvs-1.11.0-1.tar.gz Installing...latest/cygrunsrv/cygrunsrv-0.94-2.tar.bz2 Installing...latest/cygwin/cygwin-1.3.5-2.tar.bz2 Installing...latest/dejagnu/dejagnu-20010117-1.tar.gz Installing...latest/diff/diff.tar.gz Installing...latest/expect/expect-20010117-1.tar.gz Installing...latest/file/file-3.33-1.tar.gz Installing...latest/fileutils/fileutils-4.1-1.tar.bz2 Installing...latest/findutils/findutils.tar.gz Installing...latest/flex/flex-2.5.4-1.tar.gz Installing...latest/gawk/gawk-3.0.4-1.tar.gz Installing...latest/gcc/gcc-2.95.3-5.tar.bz2 Installing...latest/gdb/gdb-20010428-3.tar.bz2 Installing...contrib/gdbm/gdbm-1.8.0-3.tar.gz Installing...contrib/gettext/gettext-0.10.38-2.tar.bz2 Installing...contrib/ghostscript/ghostscript-6.51-1.tar.bz2 Installing...latest/gperf/gperf.tar.gz Installing...latest/grep/grep-2.4.2-1.tar.gz Installing...latest/groff/groff-1.16.1-1.tar.gz Installing...latest/gzip/gzip-1.3-1.tar.gz Installing...latest/inetutils/inetutils-1.3.2-15.tar.bz2 Installing...contrib/irc/irc-20010101-1.tar.gz Installing...contrib/jbigkit/jbigkit-1.2-4.tar.bz2 Installing...contrib/jpeg/jpeg-6b-4.tar.gz Installing...latest/less/less-358-3.tar.gz Installing...latest/ncurses/libncurses5/libncurses5-5.2-1.tar.bz2 Installing...latest/ncurses/libncurses6/libncurses6-5.2-2.tar.bz2 Installing...contrib/libpng/libpng-1.0.11-1.tar.gz Installing...latest/login/login-1.4-2.tar.gz Installing...contrib/lynx/lynx-2.8.4-1.tar.bz2 Installing...latest/m4/m4.tar.gz Installing...latest/make/make-3.79.1-4.tar.bz2 Installing...latest/man/man-1.5g-2.tar.gz Installing...latest/mingw/mingw-20010917-1.tar.gz Installing...latest/mingw-runtime/mingw-runtime-1.1-1.tar.bz2 Installing...latest/mt/mt-1.9.2-1.tar.bz2 Installing...contrib/mutt/mutt-1.2.5i-5.tar.bz2 Installing...contrib/ncftp/ncftp-3.0.2-2.tar.gz Installing...latest/ncurses/ncurses-5.2-7.tar.bz2 Installing...latest/newlib-man/newlib-man-20001118-1.tar.bz2 Installing...latest/opengl/opengl-1.1.0-5.tar.gz Installing...latest/openssh/openssh-3.0p1-1.tar.bz2 Installing...latest/openssl/openssl-0.9.6b-1.tar.bz2 Installing...latest/patch/patch-2.5-2.tar.gz Installing...latest/pcre/pcre-3.4-2.tar.gz Installing...contrib/perl/perl-5.6.1-2.tar.bz2 Installing...contrib/popt/popt-1.6.1-1.tar.gz Installing...contrib/postgresql/postgresql-7.1.3-1.tar.bz2 Installing...contrib/python/python-2.1.1-2.tar.bz2 Installing...contrib/readline/readline-4.2-3.tar.bz2 Installing...latest/regex/regex-4.4.tar.gz Installing...contrib/rsync/rsync-2.4.6-2.tar.bz2 Installing...contrib/rxvt/rxvt-2.7.2-6.tar.gz Installing...latest/sed/sed-3.02-1.tar.gz Installing...latest/sh-utils/sh-utils-2.0-2.tar.gz Installing...contrib/squid/squid-2.4-STABLE20010508.tar.gz Installing...contrib/ssmtp/ssmtp-2.38.7-3.tar.bz2 Installing...latest/tar/tar-1.13.19-1.tar.gz Installing...latest/tcltk/tcltk-20001125-1.tar.gz Installing...contrib/tcsh/tcsh-6.10.00-3.tar.gz Installing...latest/termcap/termcap-20010825-1.tar.bz2 Installing...latest/terminfo/terminfo-5.2-1.tar.bz2 Installing...contrib/tetex/tetex-beta-20001218-1.tar.gz Installing...latest/texinfo/texinfo-4.0-4.tar.gz Installing...latest/textutils/textutils-2.0.16-1.tar.bz2 Installing...contrib/tiff/tiff-3.5.6beta-2.tar.gz Installing...latest/time/time-1.7-1.tar.bz2 Installing...contrib/unzip/unzip-5.41-1.tar.gz Installing...latest/vim/vim-6.0.93-1.tar.bz2 Installing...latest/w32api/w32api-1.1-1.tar.bz2 Installing...contrib/wget/wget-1.7-1.tar.bz2 Installing...latest/which/which-1.4.tar.gz Installing...contrib/xpm-nox/xpm-nox-4.1.0-1.tar.bz2 Installing...contrib/zip/zip-2.3-1.tar.gz Installing...latest/zlib/zlib-1.1.3-6.tar.gz mbox note: Installation Complete 2001/11/13 08:12:46 Ending cygwin install

Andre Furtado wrote:
[...] Now I'm stuck in the following problem:
checking for GL/glut.h... no configure: error: GLUT header not found
Looking at your config.log, this is exactly your problem. Do you
have a /usr/include/GL/glut.h in Cygwin? Does something like
#include

[...] Does something like
#include
int main () { glEnd(); return 0; } compile and link under Cygwin?
At first, I got the following problem:
testglut.c:1:21: GL/glut.h: No such file or directory
Then I created usr/include/GL and added glut.h to it. Trying to compile the
above code gives me now the following error:
/cygdrive/c/temp/ccuV8Y3l.o(.text+0x1f):testglut.c: undefined reference to
`_glEnd@0'
collect2: ld returned 1 exit status
...but I think that this was expected. (IMHO, I think it would be nice to
add a warning in the INSTALL file telling that it is necessary to create a
GL dir in usr/include and to put glut.h there. I suggest also that it should
be said what is expect to be in cygwin's path.)
Back to "./configure": now the glut header is found, and my suspects about
the older versions of GLU/GL were right. Fortunately, the newer versions
were found this time:
checking GL version... 1.2
checking GLU version... 1.3
Although "./configure" completed successfully, I could not understand why
the "library containing glutMainLoop" was not found:
checking for library containing glutMainLoop... no
"make depend" also run successfully, but when trying to issue "make
install", the following problem appears:
rm -f GL_BinaryIO.o ; if [ ! -d GL_BinaryIO ]; then mkdir GL_BinaryIO; else
find
GL_BinaryIO -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc" -syslib lang -split-objs -odir
GL_BinaryIO
-package-name HOpenGL -fglasgow-exts "-#include

My install of cygwin does have /usr/include/GL/glut.h
and others. Again I suspect (esp. given your later
library error) that glut was not installed... you may
need to add yet another package using cygwin 'setup'.
I don't know which one though...
The newer versions of Cygwin are a pain with all the
packages. WHen I installed it, I chose basically every
single thing unless I was sure I didnt ever need it :)
Ron
--- Andre Furtado
[...] Does something like
#include
int main () { glEnd(); return 0; } compile and link under Cygwin?
At first, I got the following problem:
testglut.c:1:21: GL/glut.h: No such file or directory
Then I created usr/include/GL and added glut.h to it. Trying to compile the above code gives me now the following error:
/cygdrive/c/temp/ccuV8Y3l.o(.text+0x1f):testglut.c: undefined reference to `_glEnd@0' collect2: ld returned 1 exit status
...but I think that this was expected. (IMHO, I think it would be nice to add a warning in the INSTALL file telling that it is necessary to create a GL dir in usr/include and to put glut.h there. I suggest also that it should be said what is expect to be in cygwin's path.)
Back to "./configure": now the glut header is found, and my suspects about the older versions of GLU/GL were right. Fortunately, the newer versions were found this time:
checking GL version... 1.2 checking GLU version... 1.3
Although "./configure" completed successfully, I could not understand why the "library containing glutMainLoop" was not found:
checking for library containing glutMainLoop... no
"make depend" also run successfully, but when trying to issue "make install", the following problem appears:
rm -f GL_BinaryIO.o ; if [ ! -d GL_BinaryIO ]; then mkdir GL_BinaryIO; else find GL_BinaryIO -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ; "/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc" -syslib lang -split-objs -odir GL_BinaryIO -package-name HOpenGL -fglasgow-exts "-#include
" -O -c GL_Binary IO.hs -o GL_BinaryIO.o c:\WINDOWS\TEMP\ghc-445215.hc:4: GL/glut.h: No such file or directory make[1]: *** [GL_BinaryIO.o] Error 1 make: *** [install] Error 1 I tryied to add [cygwin home dir]/usr/include/gl to cygwin's path but it did work. And then I'm stuck again... :)
Thanks a lot, -- Andre
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl
===== ------------------------------------- Ronald Legere rjljr2@yahoo.com ------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

I checked on http://www.cygwin.com/packages/ and see that the opengl stuff is in the opengl package. Given your link errors, I suspect you don't have this package. Ron ===== ------------------------------------- Ronald Legere rjljr2@yahoo.com ------------------------------------- __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

Andre, you can also install your GL and glut headers under: /usr/local/include/GL/ and they should also be found automatically. Sounds like Ron is right tho, you are missing the glut libs, or they cannot be found.Try searching your computer for anything that looks like a libglut (im not sure what the extension wil be under cygwin) If you dont have it hopefully the cygwin opengl package will work for you. If it contains the glut.... If the cygwin opengl package contains just the base GL and GLU stuff, as i suspect it might, you can get the glut directly from: http://www.opengl.org/developers/documentation/glut/glut-3.7.tar.gz http://www.opengl.org/developers/documentation/glut/glut37.zip Dont worry those are proper links to source code, not just glut documentation! Then have a go at compiling and installing that. I dont know that it works on cygwin but with some luck it will. If you get glut installed somewhere and HOpenGL still cant find your glut libs, you may need to give the configure script a bit of help -- as I did after I installed my glut in /usr/local/lib/glut/ eg: #in your HOpenGL source directory LDFLAGS="-L/usr/local/lib/glut" ./configure make depend make #as root make install that should do it! cheerios, John On Wednesday 08 January 2003 09:21 am, you wrote:
I checked on http://www.cygwin.com/packages/ and see that the opengl stuff is in the opengl package. Given your link errors, I suspect you don't have this package.
Ron
===== ------------------------------------- Ronald Legere rjljr2@yahoo.com -------------------------------------

Andre, Ron was definitley right, the opengl package is the one you need. i just checked at: http://www.cygwin.com/packages/opengl/opengl-1.1.0-5-src that link gives a full listing of all the files in the cygwin opengl package and shows that it does indeed provide all the GL and glut stuff you need.. John
participants (4)
-
Andre Furtado
-
John Sincock
-
Ronald Legere
-
Sven Panne