public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Wendel Dean Renner <WendelDRenner@comcast.net>
To: cygwin-xfree@cygwin.com
Subject: X11 open gl c++ code does not compile with new cygwin download
Date: Thu, 31 Oct 2013 17:38:00 -0000	[thread overview]
Message-ID: <5272957F.4070207@comcast.net> (raw)

I downloaded cygwin with X, Open GL, and the g++ compiler four years ago
on a Windows XP system.  I have now replaced that computer
with an I7 computer running Windows 7.  I included all the packages
from my notes before, but I selected the 32 bit version of cygwin.
Compiling the exact same source code with what I was using before:
  g++ -c -O -m32 -Wno-deprecated
I now get the error about the header file glu.h:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/GL/glu.h:68:79: 

error: expected `)' before `*' token

I searched the web and your archieve and can find no answer.

I will also mention that on the prior XP system, I had lost the hard dive
about a month ago.   Downloading cygwin etc. to my spare XP hard drive
resulted in all kinds of error messages about the header files when
I tried to compile the same code.
So I tried to simply copy over the cygwn directory a backup from the
crashed drive.  I then ran the cygwin setup to update (not sure why
I did that).  But I was then able to compile and link my program.
I would like to know what is going on rather than continue with trial
and error.  Thankyou to anyone who can respond.

--
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/


             reply	other threads:[~2013-10-31 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31 17:38 Wendel Dean Renner [this message]
2013-10-31 18:46 ` Yaakov (Cygwin/X)
2014-09-02  0:45   ` Tony
2014-09-02 12:40     ` Jon TURNEY
2013-11-01 13:33 Wendel Dean Renner
2013-11-01 13:49 ` marco atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5272957F.4070207@comcast.net \
    --to=wendeldrenner@comcast.net \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).