I got following error message when I try to complie it under cygwin.
how to fix it? thanks
$ make
-------------------------------------------------------------------------------
Just parsing the OpenGL header file!
-------------------------------------------------------------------------------
Done!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-08-04
There are several threads currently asking more or less the same question. Not sure how to tie them together, but:
make: error 255
two possible culprits
can't find compiler (cl,gcc whatever CC= in Makefile) Is it in your PATH?
lack of permissions to create output files
make: error 128
make found CC, CL, GCC, but it crashed
in my case cl couldn't find mspdb60.dll,
run vcvars32.bat to set MSDEVDIR, and MSVCDIR.
unreachable code:
is the result of a compiler flag to CL that when there is a warning treat it as an error (/WX). remove this option from CFLAGS and CXXFLAGS in cr*/config/WIN_NT.MK
crutserver: can't find GL include
if you want to use this you will need to install the OpenGL Utility Toolkit (glut) for Win32 found at http://www.xmission.com/~nate/glut.html. (Thanks Nate)
progs/extensions/ARB:
hmm, more difficult, haven't figured out yet why this compiles with 1.2 and not 1.3. Errors about redefinition of glMultiTexCoord2fARB. Traced this down to PFNGLMULTITEXCOORD2FARBPROC and glMultiTexCoord2fARB definitions in GL/glext.h. Not sure what to do with it to resolve conflicting definitions.
Hope this helps others. Is there a better place to put this documentation?
Thanks
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got following error message when I try to complie it under cygwin.
how to fix it? thanks
$ make
-------------------------------------------------------------------------------
Just parsing the OpenGL header file!
-------------------------------------------------------------------------------
Done!
-------------------------------------------------------------------------------
Building crutil.dll for WIN_NT (RELEASE)
-------------------------------------------------------------------------------
Compiling make[2]: *** [../built/crutil/WIN_NT/bbox.obj] Error 255
make[1]: *** [dep] Error 2
make: *** [util.subdir] Error 2
There are several threads currently asking more or less the same question. Not sure how to tie them together, but:
make: error 255
two possible culprits
can't find compiler (cl,gcc whatever CC= in Makefile) Is it in your PATH?
lack of permissions to create output files
make: error 128
make found CC, CL, GCC, but it crashed
in my case cl couldn't find mspdb60.dll,
run vcvars32.bat to set MSDEVDIR, and MSVCDIR.
unreachable code:
is the result of a compiler flag to CL that when there is a warning treat it as an error (/WX). remove this option from CFLAGS and CXXFLAGS in cr*/config/WIN_NT.MK
crutserver: can't find GL include
if you want to use this you will need to install the OpenGL Utility Toolkit (glut) for Win32 found at http://www.xmission.com/~nate/glut.html. (Thanks Nate)
progs/extensions/ARB:
hmm, more difficult, haven't figured out yet why this compiles with 1.2 and not 1.3. Errors about redefinition of glMultiTexCoord2fARB. Traced this down to PFNGLMULTITEXCOORD2FARBPROC and glMultiTexCoord2fARB definitions in GL/glext.h. Not sure what to do with it to resolve conflicting definitions.
Hope this helps others. Is there a better place to put this documentation?
Thanks
Matt