delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/02/16:30:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001501c2f947$9581a110$4a4f80d9@shromilder>
From: "-=]Shromilder[=-" <shromilder AT wanadoo DOT fr>
To: <cygwin AT cygwin DOT com>
Subject: glui.h compilation prb
Date: Wed, 2 Apr 2003 20:42:00 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi everyone,

I have a little probleme:
I'm using the last version of CygWin with all last packages but when i try
to compile a simple programme using glui.h library, i always get those
error:
$ gcc -o glui glui.C -lglui -lglut32 -lglu32 -lopengl32
In file included from glui.C:16:
/usr/include/glui.h:329: friend declaration requires class-key, i.e. `friend
   struct GLUI_Rollout'
/usr/include/glui.h:330: friend declaration requires class-key, i.e. `friend
   struct GLUI_Main'
/usr/include/glui.h:593: friend declaration requires class-key, i.e. `friend
   struct GLUI_Control'
/usr/include/glui.h:594: friend declaration requires class-key, i.e. `friend
   struct GLUI_Rotation'
/usr/include/glui.h:595: friend declaration requires class-key, i.e. `friend
   struct GLUI_Translation'
/usr/include/glui.h:596: friend declaration requires class-key, i.e. `friend
   struct GLUI'
/usr/include/glui.h:597: friend declaration requires class-key, i.e. `friend
   class GLUI_Master_Object'
here is the glui.C file that i'm trying to compile (it's exemple2 of the
original glui package): http://shromy.free.fr/glui.C

I hope to get an answer from you =)
bye, Shromilder


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019