This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

OpenGL-1.1.0 compile problem in cygwin-1.7


Hi,

  I just updated my cygwin opengl-1.1.0-10 today and I'm using cygwin-1.7.  I'm
having an "error: stddef.h: No such file or directory" problem while compiling:

% cd /usr/share/doc/opengl-1.1.0/GLUIexamples/Cygwin
% make all
g++ -c -I/usr/include/opengl -O2    example1.cpp
In file included from /usr/include/sys/reent.h:14,
                 from /usr/include/string.h:11,
                 from example1.cpp:18:
/usr/include/sys/_types.h:63:20: error: stddef.h: No such file or directory
In file included from /usr/lib/../include/w32api/glui.h:29,
                 from example1.cpp:20:
/usr/include/stdio.h:37:20: error: stdarg.h: No such file or directory
In file included from /usr/include/sys/reent.h:14,
                 from /usr/include/string.h:11,
                 from example1.cpp:18:
/usr/include/sys/_types.h:72: error: 'wint_t' does not name a type
In file included from example1.cpp:18:
/usr/include/string.h:22: error: 'size_t' has not been declared
...

% cd /usr/share/doc/opengl-1.1.0/GLUIexamples/Mingw/
% make all MINGWFLAGS="-mno-cygwin"
g++ -c -I/usr/include/opengl -O2   -mno-cygwin example1.cpp
In file included from example1.cpp:18:
/usr/include/mingw/string.h:24:20: error: stddef.h: No such file or directory
In file included from /usr/include/mingw/glui.h:29,
                 from example1.cpp:20:
/usr/include/mingw/stdio.h:28:20: error: stdarg.h: No such file or directory
In file included from example1.cpp:18:
/usr/include/mingw/string.h:36: error: 'size_t' has not been declared
...

Does anyone know where stddef.h is in cygwin-1.7?  I couldn't find it anywhere
under /usr/include.

Thank you,

Linh

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]