[CALUG] need help compiling C++ program in cygwin on Windows XP

Wendel Dean Renner WendelDRenner at comcast.net
Thu Oct 10 14:03:06 EDT 2013


I have an application I have been distributing that I compiled and linked
under Cygwin using the gnu c++ compiler on a Windows XP system.
I lost my hard drive and am using a spare drive.  But I had not installed
c++ in cygwin along with X11 and Open GL development files.

So I did all that but am now getting all kinds of errors for the same
make file and source code, such as:

error: conflicting declaration `typedef int BOOL
In file included from /usr/include/Xm/MwmUtil.h:33:0,
... from *
*/usr/include/X11/Xmd.h:145:16: error: `BOOL' has a previous declaration 
as `type
def CARD8 BOOL'
In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32a/winnt.h:134:0,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/minwindef.h:146,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/windef.h:8,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/windows.h:69,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/GL/gl.h:13,

and

error: `GLXContext' does not name a type
error: `GLXPixmap' does not name a type

Obviously the download has changed a lot of things since the last I set
things up about 3 years ago.

Any idea as to what I need to do?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unknownlamer.org/pipermail/calug/attachments/20131010/014745d7/attachment.htm 


More information about the CALUG mailing list