From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22396 invoked by alias); 31 Oct 2013 17:38:11 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 22386 invoked by uid 89); 31 Oct 2013 17:38:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta10.westchester.pa.mail.comcast.net Received: from qmta10.westchester.pa.mail.comcast.net (HELO qmta10.westchester.pa.mail.comcast.net) (76.96.62.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Oct 2013 17:38:09 +0000 Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta10.westchester.pa.mail.comcast.net with comcast id jr9B1m0051swQuc5Ate7eW; Thu, 31 Oct 2013 17:38:07 +0000 Received: from [192.168.1.6] ([68.48.245.107]) by omta15.westchester.pa.mail.comcast.net with comcast id jte71m00n2KlKfo3bte7x0; Thu, 31 Oct 2013 17:38:07 +0000 Message-ID: <5272957F.4070207@comcast.net> Date: Thu, 31 Oct 2013 17:38:00 -0000 From: Wendel Dean Renner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: X11 open gl c++ code does not compile with new cygwin download Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00043.txt.bz2 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/