delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/24/05:43:30

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 840323938C33
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611484941;
bh=naXIxIZj5Ult2JdojSyCbFy8J1YcCgnAToBAYI9AFrE=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=ng5C1NX1WdTJACKNQpxqaKUgPTFBtom9P9g7OXNFJIw8PSahh47LeNf2NqDmlCA6b
MGTGTUTzVzuQQcMK6HDdL+6lJF4rgzBldN3M/6blGqADhk2BESCzzMGpH/0IWDO6ds
BcC4zbEJflFHt4FBzQEIJyAE3ZEXSE4f8Lc8AZVA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B18E83858004
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=Bs5AAL0CFZddO7PVcWHiN4lON7an/L0EOhSVqyZ8g8SXwSn75530In7HrH9cCZI7e70iE2PXGD9NnOuC3BHS1OsRE9dv15XPI2ESxGLcKuWilNmEhcgJ7eHoFjP2uvbG3mgtch90TjY9+gCVAaYneDLloQe+t2749x4cr9UvXUS18PfLXdtHohaSwk87RXQU2ZBmOGUcTUU/G2myxkrhj3+fU6xpYaQw6rgi1IW6LcpE20B20VUWIJuR+Y5eCDIoZwNmF8k6tMC81hrSE23fEug+D12oq7gPTuHrmqwLRu5kObkxprlpRdVLEYslNnkaQ2rYRirLP3b8eZf2+P0/vQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=XaLtcXq7oIabY+Y+d+DGc+y3G7tdoXU5m9GXNqJRfbo=;
b=d9c3YCbiOmlYffw732R2U6rxC4LDoR+HjsNrqtnUkQ1fFfOLTZqOKPL0f4R8jHT5Tn1XEQ13Mcod++SJCONwZfXCIi7VEaGWKXaea6mj1+eazIrYvbvBTpOXWaJGD4Jd/BbU4UFygDZoom9DrfT/M+QwTBGBG+hShIG8Kbib3CKJ9Ljk2/m1TDfvJBd63KdCdS6msOPTewOKPpHIIPa+xVS4ETXnD9RrbJxZTNF1LLuYpOtxT5o5YhWrfgcnACG/mDIaKyeS965knuegiDV6f7rq/jrzkCEJK2UaoPuZtgKA+V01bdyj4LEAx1mR64RKmkbP6xBZqJKGb1uQoXeeng==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: GLX and Xlib
Thread-Topic: GLX and Xlib
Thread-Index: AQHW8jq7702p1MYNIEGMsKfMLrd4Xw==
Date: Sun, 24 Jan 2021 10:42:15 +0000
Message-ID: <AM0PR10MB2516DBD53A108D27E29719C8CCBE0@AM0PR10MB2516.EURPRD10.PROD.OUTLOOK.COM>
Accept-Language: pl-PL, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:68C0AC01D91E44A93EAB03552684AC27CE0589CE26B2D2A61F1B23A8C9D82406;
UpperCasedChecksum:F03B090EBFF71D54F2B9F80692C1B55D14FB40D1783360A7D0FF9B709457FC24;
SizeAsReceived:6583; Count:41
x-tmn: [lSkY1PU/YalcuPrJKhWSEBk2QGyXBOs/]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: f0f4e997-2c7d-46d1-1e4f-08d8c054b765
x-ms-traffictypediagnostic: DB5EUR03HT151:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: vlabkYmZVA5Hthx8bM0bCquTkIQ6npImoxTnZGlpoPjV+fQYlZfof+BhRmkfCJqDOLoa8S0KK3o0f6GpFoC9EDmKsg1csT7t6vBGxgW/0T+qalz7xkNviap5RADGqc4m30dbJmCZJIXv4+xaDTH4uBcSX7kheg7lN8UilTcrd9WZK1yG4Utx5eW/fK83jQKKITbpysARupoRxfIsdVJOKFGTYGrEYnUEY2VmgwwC8TTcb9M2N2tA0pJYqWOec+pjOtgU9RQUMErc/znsd91LR8LQicx2SnivG5x6+V4OmTc=
x-ms-exchange-antispam-messagedata: KuSi0SQVv5UVyxkWM+NfQ9C4yGhMUOIgAS8818L/NSl2dwqy5iVFeY4wIlzQz+9pyODHMBKwAHUypVjiJyc86HYfWqC9th9fFMDcxnPd7bx8PIHZ9opYOXiXHnvuIpx7h5P2kdgdIy9h5SdDlqIzzw==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: f0f4e997-2c7d-46d1-1e4f-08d8c054b765
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2021 10:42:15.8459 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT151
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Rafa=C5=82_Jopek_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?windows-1250?Q?Rafa=B3_Jopek?= <rafaljopek AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10OAhCpj024230

Hello,

I have a compile error, can anyone help fix this?

An example is here:
https://www.khronos.org/opengl/wiki/Programming_OpenGL_in_Linux:_GLX_and_Xlib

Compile error:

$ gcc quad.c -o quad -lX11 -lGL -lGLU
In file included from quad.c:12:
/usr/include/w32api/GL/glu.h:68:78: error: expected ‘)’ before ‘*’ token
   68 | void APIENTRY gluQuadricCallback(GLUquadric *qobj,GLenum which,void (CALLBACK *fn)());
      |                                                                              ^~
      |                                                                              )
/usr/include/w32api/GL/glu.h:78:78: error: expected ‘)’ before ‘*’ token
   78 | void APIENTRY gluTessCallback(GLUtesselator *tess,GLenum which,void (CALLBACK *fn)());
      |                                                                              ^~
      |                                                                              )
/usr/include/w32api/GL/glu.h:94:74: error: expected ‘)’ before ‘*’ token
   94 | void APIENTRY gluNurbsCallback(GLUnurbs *nobj,GLenum which,void (CALLBACK *fn)());
      |                                                                          ^~
      |                                                                          )
/usr/include/w32api/GL/glu.h:96:23: error: expected ‘)’ before ‘*’ token
   96 | typedef void (CALLBACK *GLUquadricErrorProc)(GLenum);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:97:23: error: expected ‘)’ before ‘*’ token
   97 | typedef void (CALLBACK *GLUtessBeginProc)(GLenum);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:98:23: error: expected ‘)’ before ‘*’ token
   98 | typedef void (CALLBACK *GLUtessEdgeFlagProc) (GLboolean);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:99:23: error: expected ‘)’ before ‘*’ token
   99 | typedef void (CALLBACK *GLUtessVertexProc)(void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:100:23: error: expected ‘)’ before ‘*’ token
  100 | typedef void (CALLBACK *GLUtessEndProc)(void);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:101:23: error: expected ‘)’ before ‘*’ token
  101 | typedef void (CALLBACK *GLUtessErrorProc)(GLenum);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:102:23: error: expected ‘)’ before ‘*’ token
  102 | typedef void (CALLBACK *GLUtessCombineProc)(GLdouble[3],void*[4],GLfloat[4],void**);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:103:23: error: expected ‘)’ before ‘*’ token
  103 | typedef void (CALLBACK *GLUtessBeginDataProc)(GLenum,void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:104:23: error: expected ‘)’ before ‘*’ token
  104 | typedef void (CALLBACK *GLUtessEdgeFlagDataProc) (GLboolean,void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:105:23: error: expected ‘)’ before ‘*’ token
  105 | typedef void (CALLBACK *GLUtessVertexDataProc)(void *,void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:106:23: error: expected ‘)’ before ‘*’ token
  106 | typedef void (CALLBACK *GLUtessEndDataProc)(void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:107:23: error: expected ‘)’ before ‘*’ token
  107 | typedef void (CALLBACK *GLUtessErrorDataProc)(GLenum,void *);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:108:23: error: expected ‘)’ before ‘*’ token
  108 | typedef void (CALLBACK *GLUtessCombineDataProc)(GLdouble[3],void*[4],GLfloat[4],void**,void*);
      |                       ^~
      |                       )
/usr/include/w32api/GL/glu.h:109:23: error: expected ‘)’ before ‘*’ token
  109 | typedef void (CALLBACK *GLUnurbsErrorProc)(GLenum);
      |                       ^~
      |                       )


Thank you in advance for your help.

Best regards
- Rafa³



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

- Raw text -


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