From owner-ogl-sample@oss.sgi.com Fri Feb 4 08:17:07 2000 Received: by oss.sgi.com id ; Fri, 4 Feb 2000 08:16:58 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:58944 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Fri, 4 Feb 2000 08:16:37 -0800 Received: from oddhack.engr.sgi.com ([130.62.54.158]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id AAA08599 for ; Thu, 3 Feb 2000 00:11:30 -0800 (PST) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id AAA78891 for ogl-sample@oss.sgi.com; Thu, 3 Feb 2000 00:11:30 -0800 (PST) Date: Thu, 3 Feb 2000 00:11:30 -0800 (PST) From: ljp@oddhack.engr.sgi.com (Jon Leech) Message-Id: <200002030811.AAA78891@oddhack.engr.sgi.com> To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Instructions for CVS access to the SI repository Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing I've updated the http://oss.sgi.com/projects/ogl-sample/contribute.html page with instructions on accessing the OpenGL SI CVS repository anonymously (read-only). In short, setenv CVSROOT :pserver:cvs@oss.sgi.com:/cvs # Or use cvs -d below cvs login # Password is 'cvs' cvs checkout projects/ogl-sample/main Let me know of any problems. I actually have to use a different technique, since oss.sgi.com is on the other side of the SGI firewall from my machines. Jon Leech SGI From owner-ogl-sample@oss.sgi.com Fri Feb 4 09:59:28 2000 Received: by oss.sgi.com id ; Fri, 4 Feb 2000 09:59:18 -0800 Received: from [205.180.60.91] ([205.180.60.91]:1296 "HELO web117.yahoomail.com") by oss.sgi.com with SMTP id ; Fri, 4 Feb 2000 09:58:59 -0800 Received: (qmail 28127 invoked by uid 60001); 3 Feb 2000 09:53:47 -0000 Message-ID: <20000203095347.28126.qmail@web117.yahoomail.com> Received: from [212.106.196.210] by web117.yahoomail.com; Thu, 03 Feb 2000 01:53:47 PST Date: Thu, 3 Feb 2000 01:53:47 -0800 (PST) From: Incubus =?ISO-8859-1?Q? "Inc=F3gnita" ?= To: ogl-sample@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing I am developing a multithreading (several OpenGL viewports) application and when I want to make a copy of the current rendering context in each thread with wglCopyContext using TNT and GFORCE graphic cards it returns error. I am working under Windows NT.The same error appears when I am runing only one thread. I check that the source rendering context is current and that destination rendering context is not in use. I am using the GL_ALL_ATTRIB_BITS parameter. Thanks in advance for any help. Robert __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com From owner-ogl-sample@oss.sgi.com Fri Feb 4 17:43:18 2000 Received: by oss.sgi.com id ; Fri, 4 Feb 2000 17:42:59 -0800 Received: from amigo.dent.med.uni-muenchen.de ([138.245.179.32]:6456 "EHLO amigo.dent.med.uni-muenchen.de") by oss.sgi.com with ESMTP id ; Fri, 4 Feb 2000 17:42:34 -0800 Received: from max.zk-i.med.uni-muenchen.de (max.zk-i.med.uni-muenchen.de [138.245.176.129]) by amigo.dent.med.uni-muenchen.de (8.8.8/8.8.8) with ESMTP id SAA28172 for <@amigo.dent.med.uni-muenchen.de:ogl-sample@oss.sgi.com>; Thu, 3 Feb 2000 18:37:27 +0100 (CET) Received: (from wmglo@localhost) by max.zk-i.med.uni-muenchen.de (980427.SGI.8.8.8/980728.SGI.AUTOCF) id SAA69788; Thu, 3 Feb 2000 18:37:27 +0100 ("MET) Date: Thu, 3 Feb 2000 18:37:27 +0100 ("MET) Message-Id: <200002031737.SAA69788@max.zk-i.med.uni-muenchen.de> From: Wolfram Gloger To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Compiling libGLU on Irix-6.5 with gcc-2.95 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hello, Recently, I got stuck developing an OpenGL application on Irix 6.5 with gcc, because /usr/lib32/libGLU.so brings in libC.so, which clashes with libstdc++.so (as supplied by gcc). The results where crashes even before main was reached (the global cin and cout objects are messed up). Now, thanks to the sample impl. release, I seem to have succeeded in building _with gcc-2.95_ my own libGLU.so depending only on libstdc++ (not libC), and my app runs fine ! :-) (So far just limited testing, though.) One trivial patch is appended below; with this the compile of libGLU runs through even with `c++ -ansi' as the C++ compiler. Would I be allowed to distribute the resulting libGL.so binary as a service to other gcc users on Irix 6.5? Regards, Wolfram. diff -ur main/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc main.wg/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc --- main/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc Wed Jan 26 11:30:46 2000 +++ main.wg/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc Thu Feb 3 17:18:47 2000 @@ -82,7 +82,7 @@ } //compare the heads of the two chains -static compChainHeadInY(monoChain* mc1, monoChain* mc2) +static int compChainHeadInY(monoChain* mc1, monoChain* mc2) { return compV2InY(mc1->getHead()->head(), mc2->getHead()->head()); } From owner-ogl-sample@oss.sgi.com Fri Feb 4 18:26:50 2000 Received: by oss.sgi.com id ; Fri, 4 Feb 2000 18:26:40 -0800 Received: from mail-na.netmanage.com ([156.27.24.10]:24243 "EHLO mail-na.netmanage.com") by oss.sgi.com with ESMTP id ; Fri, 4 Feb 2000 18:26:26 -0800 Received: from maxfield (maxfield.netmanage.com [156.27.27.226]) by mail-na.netmanage.com (8.9.1/8.9.1) with SMTP id NAA10037 for ; Thu, 3 Feb 2000 13:19:42 -0500 (EST) Received: by localhost with Microsoft MAPI; Thu, 3 Feb 2000 13:22:39 -0500 Message-ID: <01BF6E49.BE6C2690.kathleen.langone@netmanage.com> From: Kathleen Langone To: "'ogl-sample'" Cc: "'kathleen'" Subject: [ogl-sample] Looking at GLX protocol - have a question about the first byte of requests Date: Thu, 3 Feb 2000 13:22:37 -0500 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 X-MS-Attachment: WINMAIL.DAT 0 00-00-1980 00:00 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing The very first byte of the encoding for requests in the spec is simply labled "opcode (X assigned)". For extensions coming through the X protocol for GLX I would think the first byte would be 147(dec) to indicate a GLX request. I would think the coding for example of glXCreateContext would be : 1 CARD8 147 1 3 8(GLX Opcode) etc... In my code I'm working with I'm not seeing a 147 but a variable value there. And to indicate an X Extension call the 2nd byte is non-zero - and the first byte would be between 128 and 255 - right? begin 600 WINMAIL.DAT M>)\^(B<2`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <` M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$ MD 8`2 ,```(````0`````P``, ,````+``\.``````(!_P\!````:P`````` M``"U.\+ +'<0&J&\" `K*E;"%0```&H$99:NB](1ALH`P$^VM0:DA `````` M`($K'Z2^HQ 9G6X`W0$/5 (`````;V=L+7-A;7!L90!33510`&]G;"US86UP M;&5 ;W-S+G-G:2YC;VT``!X``C !````!0```%--5% `````'@`#, $````7 M````;V=L+7-A;7!L94!O``,P`0```!\```!K871H;&5E;BYL86YG;VYE0&YE=&UA;F%G92YC;VT` M``,`%0P"`````P#^#P8````>``$P`0````L````G:V%T:&QE96XG```"`0LP M`0```"0```!33510.DM!5$A,145.+DQ!3D=/3D5 3D5434%.04=%+D-/30`# M```Y``````L`0#H`````'@#V7P$````)````:V%T:&QE96X``````@'W7P$` M```L````OP```+4[PL L=Q :H;P(`"LJ5L(5````:@1EEJZ+TA&&R@# 3[:U M!B2 ```#`/U?`0````,`_U\``````@'V#P$````$````````!"VS`02 `0!+ M````3&]O:VEN9R!A="!'3%@@<')O=&]C;VP@+2!H879E(&$@<75E`' ``0```$L```!,;V]K:6YG(&%T($=,6"!P# $````%````4TU44 `````>`!\,`0```!\```!K871H;&5E;BYL M86YG;VYE0&YE=&UA;F%G92YC;VT```,`!A#$N@1J`P`'$*0!```>``@0`0`` M`&4```!42$5615)91DE24U1"651%3T942$5%3D-/1$E.1T9/4E)%455%4U13 M24Y42$534$5#25-324U03%E,04),140B3U!#3T1%*%A!4U-)1TY%1"DB1D]2 M15A414Y324].4T-/34E.``````(!"1 !````_0$``/D!``#G`@``3%I&=48V MZ>\#``H`(54+$#8'5G:!5#&5!P`V!,=&\(X1831TP94$ET('<(8&P8 MH!50"X!K%Q5#%'D=I&(4`#$T-VHH!8$I%4!O%N$5T&/:813Q81TS%F4N$SD= MCS<;$177&G!A& $5`V=L_%A#"7 @\0A0`C :<1](&CH3.3$#,!.B0T%2/$0X M#(0G!O%>(A,!_A%,!U!4 A,';_"L ',!AQ,3$* M015""7 :$+T3.4$@L"!L`Z 94$4:AN\;$ = `R 54C(S8133%[&Q+]!N+7H$ MD"" +31!SQWB'H\?DQ^P='<)X1_0[#(X-S,.,#4W$040&^ L=#\3-!'Q`#M@ M`````P`0$ `````#`!$0``````,`@!#_____0 `',(#B[NAR;K\!0 `(,(#B M[NAR;K\!"P``@ @@!@``````P ```````$8``````X4````````#``* "" & M``````# ````````1@`````0A0````````,`!8 (( 8``````, ```````!& M`````%*%``#S%0``'@`E@ @@!@``````P ```````$8`````5(4```$````% M````."XP- `````#`": "" &``````# ````````1@`````!A0````````L` M+X (( 8``````, ```````!&``````Z%`````````P`P@ @@!@``````P `` M`````$8`````$84````````#`#* "" &``````# ````````1@`````8A0`` M`````!X`08 (( 8``````, ```````!&`````#:%```!`````0`````````> M`$* "" &``````# ````````1@`````WA0```0````$`````````'@!#@ @@ M!@``````P ```````$8`````.(4```$````!`````````!X`/0`!`````0`` /```````#``TT_3<``"DC ` end From owner-ogl-sample@oss.sgi.com Sun Feb 6 08:43:01 2000 Received: by oss.sgi.com id ; Sun, 6 Feb 2000 08:42:51 -0800 Received: from Cantor.suse.de ([194.112.123.193]:63750 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Sun, 6 Feb 2000 08:42:42 -0800 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id E5FEA1E0D9 for ; Sun, 6 Feb 2000 17:42:40 +0100 (MET) Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1]) by Hermes.suse.de (Postfix) with ESMTP id AEC6D10A02A for ; Sun, 6 Feb 2000 17:42:40 +0100 (MET) Received: by Wotan.suse.de (Postfix, from userid 268) id 8D8967F86; Sun, 6 Feb 2000 17:42:40 +0100 (MET) Date: Sun, 6 Feb 2000 17:42:40 +0100 From: Stefan Dirsch To: ogl-sample@oss.sgi.com Cc: sndirsch@suse.de Subject: [ogl-sample] GLX Module ? Message-ID: <20000206174240.A31711@Wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hi Is there any chance to compile the Xserver Code in a GLX module instead of a static X Server? At least in the README this is not documented ... Stefan ---------------------------------------------------- Stefan Dirsch SuSE GmbH, Entwicklung Tel: +49-911-7405331 Schanzaeckerstr. 10 FAX: +49-911-7417755 D-90443 Nuernberg http://www.suse.de Germany ---------------------------------------------------- From owner-ogl-sample@oss.sgi.com Sun Feb 6 18:09:18 2000 Received: by oss.sgi.com id ; Sun, 6 Feb 2000 18:09:09 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:59500 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 6 Feb 2000 18:08:47 -0800 Received: from oddhack.engr.sgi.com (oddhack.engr.sgi.com [130.62.54.158]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA07622 for ; Sun, 6 Feb 2000 18:11:30 -0800 (PST) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id SAA01083; Sun, 6 Feb 2000 18:08:50 -0800 (PST) Message-ID: <20000206180850.A99978@oddhack.engr.sgi.com> Date: Sun, 6 Feb 2000 18:08:50 -0800 From: Jon Leech To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Compiling libGLU on Irix-6.5 with gcc-2.95 References: <200002031737.SAA69788@max.zk-i.med.uni-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <200002031737.SAA69788@max.zk-i.med.uni-muenchen.de>; from Wolfram Gloger on Thu, Feb 03, 2000 at 06:37:27PM +0100 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing On Thu, Feb 03, 2000 at 06:37:27PM +0100, Wolfram Gloger wrote: > Hello, > > Recently, I got stuck developing an OpenGL application on Irix 6.5 > with gcc, because /usr/lib32/libGLU.so brings in libC.so, which > clashes with libstdc++.so (as supplied by gcc). The results where > crashes even before main was reached (the global cin and cout objects > are messed up). Right. It's not possible to mix IRIX CC and g++ objects, most of the name mangling / alignment / calling conventions are different. > Now, thanks to the sample impl. release, I seem to have succeeded in > building _with gcc-2.95_ my own libGLU.so depending only on libstdc++ > (not libC), and my app runs fine ! :-) (So far just limited testing, > though.) > > One trivial patch is appended below; with this the compile of libGLU > runs through even with `c++ -ansi' as the C++ compiler. > > Would I be allowed to distribute the resulting libGL.so binary as a > service to other gcc users on Irix 6.5? Certainly. But, please do make very clear that this libGLU is not officially supported by SGI, so that problems with it should be sent either to you or to the ogl-sample mailing list - the IRIX support people aren't setup to deal with this. I'd suggest also specifying that this libGLU should be installed in the gcc library directory - hopefully this is obvious to most gcc users, but the consequences if someone were to replace the libGLU.so distributed with IRIX by the gcc-compatible version would be nasty. Thanks for the patch! Jon Leech SGI From owner-ogl-sample@oss.sgi.com Sun Feb 6 18:45:49 2000 Received: by oss.sgi.com id ; Sun, 6 Feb 2000 18:45:39 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:18032 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 6 Feb 2000 18:45:16 -0800 Received: from oddhack.engr.sgi.com (oddhack.engr.sgi.com [130.62.54.158]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA03710 for ; Sun, 6 Feb 2000 18:47:59 -0800 (PST) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id SAA96300; Sun, 6 Feb 2000 18:45:19 -0800 (PST) Message-ID: <20000206184519.G99978@oddhack.engr.sgi.com> Date: Sun, 6 Feb 2000 18:45:19 -0800 From: Jon Leech To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Re: your mail References: <20000203095347.28126.qmail@web117.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.91.1 In-Reply-To: =?iso-8859-1?Q?=3C20000203095347=2E28126=2Eqmail=40web117=2Eyahoomail=2E?= =?iso-8859-1?Q?com=3E=3B_from_Incubus__Inc=F3gnita__on_Thu=2C_Feb_03=2C_?= =?iso-8859-1?Q?2000_at_01:53:47AM_-0800?= Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing On Thu, Feb 03, 2000 at 01:53:47AM -0800, Incubus Incógnita wrote: > I am developing a multithreading (several OpenGL > viewports) application and when I want to make a copy > of the current rendering context in each thread with > wglCopyContext using TNT and GFORCE graphic cards it > returns error. I am working under Windows NT.The same > error appears when I am runing only one thread. > > I check that the source rendering context is current > and that destination rendering context is not in use. > I am using the GL_ALL_ATTRIB_BITS parameter. > > Thanks in advance for any help. This question is likely specific to the NVIDIA drivers and to WGL (which is not part of what we open sourced in the SI). Please ask NVIDIA tech support directly, and perhaps post the query on comp.graphics.api.opengl as well. Jon Leech SGI From owner-ogl-sample@oss.sgi.com Mon Feb 7 06:39:54 2000 Received: by oss.sgi.com id ; Mon, 7 Feb 2000 06:39:45 -0800 Received: from mail-na.netmanage.com ([156.27.24.10]:5116 "EHLO mail-na.netmanage.com") by oss.sgi.com with ESMTP id ; Mon, 7 Feb 2000 06:39:27 -0800 Received: from maxfield (maxfield.netmanage.com [156.27.27.226]) by mail-na.netmanage.com (8.9.1/8.9.1) with SMTP id JAA15217 for ; Mon, 7 Feb 2000 09:37:44 -0500 (EST) Received: by localhost with Microsoft MAPI; Mon, 7 Feb 2000 09:40:41 -0500 Message-ID: <01BF714F.65E673A0.kathleen.langone@netmanage.com> From: Kathleen Langone To: "'ogl-sample@oss.sgi.com'" Subject: RE: [ogl-sample] Re: your mail Date: Mon, 7 Feb 2000 09:40:40 -0500 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Did you get my mail on the GLX protocol question?? thanks PS All of us GLX'ers out there appreciate your replies to this mail list :} From owner-ogl-sample@oss.sgi.com Tue Feb 8 01:24:16 2000 Received: by oss.sgi.com id ; Tue, 8 Feb 2000 01:24:06 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:38670 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 8 Feb 2000 01:23:57 -0800 Received: from oddhack.engr.sgi.com (oddhack.engr.sgi.com [130.62.54.158]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id BAA10419 for ; Tue, 8 Feb 2000 01:19:28 -0800 (PST) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id BAA04553; Tue, 8 Feb 2000 01:23:57 -0800 (PST) Message-ID: <20000208012356.A103170@oddhack.engr.sgi.com> Date: Tue, 8 Feb 2000 01:23:56 -0800 From: Jon Leech To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Looking at GLX protocol - have a question about the first byte of requests References: <01BF6E49.BE6C2690.kathleen.langone@netmanage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <01BF6E49.BE6C2690.kathleen.langone@netmanage.com>; from Kathleen Langone on Thu, Feb 03, 2000 at 01:22:37PM -0500 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing On Thu, Feb 03, 2000 at 01:22:37PM -0500, Kathleen Langone wrote: > The very first byte of the encoding for requests in the spec is simply > labled "opcode (X assigned)". For extensions coming through the X protocol > for GLX I would think the first byte would be 147(dec) to indicate a GLX > request. Why 147, specifically? > I would think the coding for example of glXCreateContext would be : > 1 CARD8 147 > 1 3 8(GLX Opcode) > etc... > > In my code I'm working with I'm not seeing a 147 but a variable value > there. I hope it's the same value on every request? If you're not already doing this, you may find it useful to run xmon or some other protocol monitor in between client and server, do some really simple GL command sequence, and break down the dump request by request (although quite tedious, which is why I suggested someone might enhance xmon to recognize GLX protocol requests). Jon Leech SGI From owner-ogl-sample@oss.sgi.com Wed Feb 9 21:35:02 2000 Received: by oss.sgi.com id ; Wed, 9 Feb 2000 21:34:52 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:38468 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 9 Feb 2000 21:34:49 -0800 Received: from oddhack.engr.sgi.com (oddhack.engr.sgi.com [130.62.54.158]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id VAA06885 for ; Wed, 9 Feb 2000 21:30:19 -0800 (PST) mail_from (ljp@oddhack.engr.sgi.com) Received: (from ljp@localhost) by oddhack.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id VAA07788 for ogl-sample@oss.sgi.com; Wed, 9 Feb 2000 21:34:49 -0800 (PST) Date: Wed, 9 Feb 2000 21:34:49 -0800 (PST) From: ljp@oddhack.engr.sgi.com (Jon Leech) Message-Id: <200002100534.VAA07788@oddhack.engr.sgi.com> To: ogl-sample@oss.sgi.com Subject: [ogl-sample] OpenGL Extension Registry and OpenGL ABI for Linux have moved to a new home Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing I've moved some OpenGL developer resources to a new, permanent home shared with the recently open-sourced OpenGL Sample Implementation, mostly because it's significantly easier for me to maintain this information, which changes frequently but hasn't been updated on the public websites as often as it should be, in a single centralized location. They are: - The OpenGL Extension Registry (specifications for all extensions that have been registered with SGI) is now at: http://oss.sgi.com/projects/ogl-sample/registry/ (former incarnations were on reality.sgi.com/ljp_engr/registry and on opengl.org) There are quite a few specifications here which are new compared to former sites. - The working documents of the OpenGL ABI for Linux (aka Linux/OpenGL Base, which is not very descriptive) group are now at: http://oss.sgi.com/projects/ogl-sample/ABI/ (formerly on reality.sgi.com/opengl/linux/linuxbase.html) Let me know of problems. Jon Leech SGI From owner-ogl-sample@oss.sgi.com Mon Feb 14 13:44:30 2000 Received: by oss.sgi.com id ; Mon, 14 Feb 2000 13:44:20 -0800 Received: from gateway.foliage.com ([208.249.210.50]:43816 "EHLO gateway.foliage.com") by oss.sgi.com with ESMTP id ; Mon, 14 Feb 2000 13:44:09 -0800 Received: (from root@localhost) by gateway.foliage.com (8.9.3/8.9.3) id QAA23218 for ogl-sample@oss.sgi.com.outgoing; Mon, 14 Feb 2000 16:44:08 -0500 Received: from coopersmith (coopersmith.corp.foliage.com [192.9.200.156]) by gateway.foliage.com (8.9.3/8.9.3) with SMTP id QAA23211 for ; Mon, 14 Feb 2000 16:44:08 -0500 Received: by localhost with Microsoft MAPI; Mon, 14 Feb 2000 16:53:35 -0500 Message-ID: <01BF770C.083C5DB0.awadell@foliage.com> From: Andrea Wadell To: "'ogl-sample@oss.sgi.com'" Subject: [ogl-sample] Trouble with generated makefiles Date: Mon, 14 Feb 2000 15:52:09 -0500 Organization: Foliage Software Systems, Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hi, I'm trying to build the sample implementation following the Quick Recipe in the Jan 25 release notes. I'm on Linux (redhat 6.1) and using X11 3.3.6. I'm having problems with the generated makefile that ends up in $TOPDIR/gfx/lib/opengl/drivers/DDX.O. gmake gives me errors such as "missing" or "invalid" separators when it tries to run this generated make file. I have fixed some problems already - it looked like the single and double quotes in the generating GNUmakefile (at $TOPDIR/gfx/lib/opengl) were not being interpreted properly. But I'm wondering if there isn't a particular shell/settings I should have. I'm new to linux as well as OpenGL. I appreciate your help. Andrea C. Wadell awadell@foliage.com From owner-ogl-sample@oss.sgi.com Mon Feb 14 13:57:41 2000 Received: by oss.sgi.com id ; Mon, 14 Feb 2000 13:57:31 -0800 Received: from Cantor.suse.de ([194.112.123.193]:15375 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Mon, 14 Feb 2000 13:57:05 -0800 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 0FAA81E18D for ; Mon, 14 Feb 2000 22:57:03 +0100 (MET) Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1]) by Hermes.suse.de (Postfix) with ESMTP id DECDB10A026 for ; Mon, 14 Feb 2000 22:57:02 +0100 (MET) Received: by Wotan.suse.de (Postfix, from userid 268) id 9DE777F86; Mon, 14 Feb 2000 22:57:02 +0100 (MET) Date: Mon, 14 Feb 2000 22:57:02 +0100 From: Stefan Dirsch To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Trouble with generated makefiles Message-ID: <20000214225702.A5531@Wotan.suse.de> References: <01BF770C.083C5DB0.awadell@foliage.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=a8Wt8u1KmwUX3Y2C X-Mailer: Mutt 0.95.4i In-Reply-To: <01BF770C.083C5DB0.awadell@foliage.com>; from Andrea Wadell on Mon, Feb 14, 2000 at 03:52:09PM -0500 Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii On Mon, Feb 14, 2000 at 03:52:09PM -0500, Andrea Wadell wrote: > > Hi, > > I'm trying to build the sample implementation following the Quick Recipe > in the Jan 25 release notes. I'm on Linux (redhat 6.1) and using X11 > 3.3.6. I'm having problems with the generated makefile that ends up in > $TOPDIR/gfx/lib/opengl/drivers/DDX.O. gmake gives me errors such as > "missing" or "invalid" separators when it tries to run this generated make > file. I have fixed some problems already - it looked like the single and > double quotes in the generating GNUmakefile (at $TOPDIR/gfx/lib/opengl) > were not being interpreted properly. But I'm wondering if there isn't a > particular shell/settings I should have. I'm new to linux as well as > OpenGL. > > I appreciate your help. > Andrea C. Wadell > awadell@foliage.com > The attached patch may help you ... the trick is to replace 'echo' with 'echo -e'. Otherwise you won't get a tab in the dynamically created Makefiles. Stefan ---------------------------------------------------- Stefan Dirsch SuSE GmbH, Entwicklung Tel: +49-911-7405331 Schanzaeckerstr. 10 FAX: +49-911-7417755 D-90443 Nuernberg http://www.suse.de Germany ---------------------------------------------------- --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ogl-sample.20000126.diff" diff -u -r ../main.orig/gfx/lib/glu/GNUmakefile ./gfx/lib/glu/GNUmakefile --- ../main.orig/gfx/lib/glu/GNUmakefile Mon Feb 7 18:36:41 2000 +++ ./gfx/lib/glu/GNUmakefile Mon Feb 7 18:36:54 2000 @@ -46,7 +46,7 @@ LLDLIBS = -lGL -lm ifeq ($(OS),Linux) # There should be a cleaner, version-independent way to do this -LLDLIBS += -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -lstdc++ +LLDLIBS += -L/usr/lib/gcc-lib/i386-suse-linux/2.95.2 -lstdc++ else LLDLIBS += -lc -lC endif diff -u -r ../main.orig/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc ./gfx/lib/glu/libnurbs/nurbtess/monoChain.cc --- ../main.orig/gfx/lib/glu/libnurbs/nurbtess/monoChain.cc Mon Feb 7 18:36:41 2000 +++ ./gfx/lib/glu/libnurbs/nurbtess/monoChain.cc Mon Feb 7 18:36:54 2000 @@ -82,7 +82,7 @@ } //compare the heads of the two chains -static compChainHeadInY(monoChain* mc1, monoChain* mc2) +static Int compChainHeadInY(monoChain* mc1, monoChain* mc2) { return compV2InY(mc1->getHead()->head(), mc2->getHead()->head()); } diff -u -r ../main.orig/gfx/lib/opengl/GNUmakefile ./gfx/lib/opengl/GNUmakefile --- ../main.orig/gfx/lib/opengl/GNUmakefile Mon Feb 7 18:36:41 2000 +++ ./gfx/lib/opengl/GNUmakefile Mon Feb 7 18:36:54 2000 @@ -58,7 +58,7 @@ drivers/$(GLPRODUCT)/GNUmakefile \ $(NULL) -ECHO = /bin/echo +ECHO = /bin/echo -e ifeq ($(GLOS),"NONE") DIRS += $(GLOS) diff -u -r ../main.orig/gfx/samples/extensions/GNUmakefile ./gfx/samples/extensions/GNUmakefile --- ../main.orig/gfx/samples/extensions/GNUmakefile Mon Feb 7 18:36:42 2000 +++ ./gfx/samples/extensions/GNUmakefile Mon Feb 7 18:37:58 2000 @@ -50,7 +50,7 @@ varray.c \ $(NULL) -LLDLIBS = -lrgb -lglfont -lglut -lGLU -lGL -lXmu -lXt -lXext -lX11 -lm +LLDLIBS = -lrgb -lglfont -lglut -lGLU -lGL -L/usr/X11R6/lib -lXmu -lXt -lXext -lX11 -lm TARGETS = $(subst .c,,$(CFILES)) diff -u -r ../main.orig/gfx/samples/glx/GNUmakefile ./gfx/samples/glx/GNUmakefile --- ../main.orig/gfx/samples/glx/GNUmakefile Mon Feb 7 18:36:42 2000 +++ ./gfx/samples/glx/GNUmakefile Mon Feb 7 18:38:27 2000 @@ -45,7 +45,7 @@ tex3d.c \ $(NULL) -LLDLIBS = -lGLU -lGL -lXmu -lXext -lX11 -lm +LLDLIBS = -lGLU -lGL -L/usr/X11R6/lib -lXmu -lXext -lX11 -lm TARGETS = $(subst .c,,$(CFILES)) diff -u -r ../main.orig/gfx/samples/redbook_2ed/GNUmakefile ./gfx/samples/redbook_2ed/GNUmakefile --- ../main.orig/gfx/samples/redbook_2ed/GNUmakefile Mon Feb 7 18:36:42 2000 +++ ./gfx/samples/redbook_2ed/GNUmakefile Mon Feb 7 18:39:02 2000 @@ -96,7 +96,7 @@ wrap.c \ $(NULL) -LLDLIBS = -lglut -lGLU -lGL -lXmu -lXt -lXext -lX11 -lm +LLDLIBS = -lglut -lGLU -lGL -L/usr/X11R6/lib -lXmu -lXt -lXext -lX11 -lm TARGETS = $(subst .c,,$(CFILES)) diff -u -r ../main.orig/gfx/samples/samples/GNUmakefile ./gfx/samples/samples/GNUmakefile --- ../main.orig/gfx/samples/samples/GNUmakefile Mon Feb 7 18:36:42 2000 +++ ./gfx/samples/samples/GNUmakefile Mon Feb 7 18:39:19 2000 @@ -40,7 +40,7 @@ wave.c \ $(NULL) -LLDLIBS = -lrgb -lglut -lGLU -lGL -lXmu -lXt -lXext -lX11 -lm +LLDLIBS = -lrgb -lglut -lGLU -lGL -L/usr/X11R6/lib -lXmu -lXt -lXext -lX11 -lm TARGETS = $(subst .c,,$(CFILES)) diff -u -r ../main.orig/gfx/samples/xglinfo/GNUmakefile ./gfx/samples/xglinfo/GNUmakefile --- ../main.orig/gfx/samples/xglinfo/GNUmakefile Mon Feb 7 18:36:42 2000 +++ ./gfx/samples/xglinfo/GNUmakefile Mon Feb 7 18:39:55 2000 @@ -42,7 +42,7 @@ xglinfo.c \ $(NULL) -LLDLIBS = -lGLU -lGL -lXext -lXt -lX11 -lm +LLDLIBS = -lGLU -lGL -L/usr/X11R6/lib -lXext -lXt -lX11 -lm TARGETS = xglinfo --a8Wt8u1KmwUX3Y2C-- From owner-ogl-sample@oss.sgi.com Mon Feb 14 18:20:17 2000 Received: by oss.sgi.com id ; Mon, 14 Feb 2000 18:20:07 -0800 Received: from mud.cgl.uwaterloo.ca ([129.97.114.212]:22487 "EHLO mud.cgl.uwaterloo.ca") by oss.sgi.com with ESMTP id ; Mon, 14 Feb 2000 18:19:47 -0800 Received: from ochre (ochre.cgl.uwaterloo.ca [129.97.114.38]) by mud.cgl.uwaterloo.ca (8.9.3/8.9.3) with ESMTP id VAA06302 for ; Mon, 14 Feb 2000 21:19:45 -0500 (EST) Date: Mon, 14 Feb 2000 21:19:44 -0500 (EST) From: Vincent Ma X-Sender: vma@ochre To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] Trouble with generated makefiles In-Reply-To: <20000214225702.A5531@Wotan.suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Here's a somewhat related problem that I am stuck at: After a successful compilation of the SI, I get a whole set of "missing file" warnings while installing the distribution using "gmake distsi".. they include (but are not limited to): installing ../../include/dl_block.h (missing) installing ../../include/ppdlist.h (missing) installing ../../include/spdlist.h (missing) installing ../../glcore/Imakefile (missing) installing ../../glcore/px_fastdraw.c (missing) installing ../../glcore/s_disp.c (missing) installing ../../glcore/s_picks.c (missing) installing ../../glcore/s_stats.c (missing) Did anyone else encounter the same problem? I wonder if I have omitted something or made an error somewhere. I have followed the compilation instructions that came along with the distribution. Many thanks in advance. vince. ----------------------------------==============<<<<<< Vincent C. H. Ma vma@cgl.uwaterloo.ca MMath - Computer Graphics, Dept(CompSci), Univ(Waterloo) ----------------------------------------------------------------------- From owner-ogl-sample@oss.sgi.com Wed Feb 16 16:08:46 2000 Received: by oss.sgi.com id ; Wed, 16 Feb 2000 16:08:37 -0800 Received: from gateway.foliage.com ([208.249.210.50]:17980 "EHLO gateway.foliage.com") by oss.sgi.com with ESMTP id ; Wed, 16 Feb 2000 16:08:23 -0800 Received: (from root@localhost) by gateway.foliage.com (8.9.3/8.9.3) id TAA00109 for ogl-sample@oss.sgi.com.outgoing; Wed, 16 Feb 2000 19:08:22 -0500 Received: from coopersmith (coopersmith.corp.foliage.com [192.9.200.156]) by gateway.foliage.com (8.9.3/8.9.3) with SMTP id TAA00101 for ; Wed, 16 Feb 2000 19:08:22 -0500 Received: by localhost with Microsoft MAPI; Wed, 16 Feb 2000 19:17:49 -0500 Message-ID: <01BF78B2.83A71420.awadell@foliage.com> From: Andrea Wadell To: "'ogl-sample@oss.sgi.com'" Subject: [ogl-sample] Problems Building Xfree86 using Quick Recipe Date: Wed, 16 Feb 2000 19:17:48 -0500 Organization: Foliage Software Systems, Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hi, I've been following the QUICK RECIPE that came with the Sample Implementation in the README.1ST file. I have the SI tree built. I then ran gmake tools_install and gmake distsi to export the files. I noticed that several files were reported missing - notably the Imakefile in ..../glcore, but also some .c and .h files. I checked on your source tree on your web site and didn't see these files either. The make of Xfree86 is complaining about the missing Imakefile (among lots of things...). I'm running on red_hat 6.1 and the 3.3.6 version of xfree86 which I just downloaded this week. Are these missing files a problem? In the README.1ST, it says to include libdixGL.a and libGLcore.a in the XFree86 build. I manually put them in xc/programs/Xserver/GL and GL/opengl. This didn't help my build any, though... Any help would be greatly appreciated! Andrea Wadell From owner-ogl-sample@oss.sgi.com Fri Feb 18 02:07:07 2000 Received: by oss.sgi.com id ; Fri, 18 Feb 2000 02:06:47 -0800 Received: from adsl-63-195-2-69.dsl.chic01.pacbell.net ([63.195.2.69]:61964 "EHLO mail.scitechsoft.com") by oss.sgi.com with ESMTP id ; Fri, 18 Feb 2000 02:06:35 -0800 Received: from KENDALLB [63.195.2.87] by mail.scitechsoft.com with ESMTP (SMTPD32-6.00) id AA6F311E025C; Fri, 18 Feb 2000 02:09:51 -0800 From: "Kendall Bennett" Organization: SciTech Software, Inc. To: ogl-sample@oss.sgi.com Date: Fri, 18 Feb 2000 02:09:25 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: [ogl-sample] How to get started? X-mailer: Pegasus Mail for Win32 (v3.12b) Message-Id: <200002180209675.SM00161@KENDALLB> Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hi Guys, I am interesting in getting the new Open Source OpenGL sample implementation to compile in our development environment. I have synced up with the latest files via CVS, however I am having a hard time figuring out where to start. Since I won't be builing this under Linux or for X11, I need to build my own makefiles etc. I plan to build this with Watcom C++ for Win32 initially, using our own makefile stuff. I guess the first place I could start would be with the GLU libraries, since those are relatively simple. I can find the source to the libglu library, but it is spread out in three directories. I assume I need to build the objects in all those directories into the final library? Also where are the public OpenGL header files in the SI? I can't seem to find them anywhere... Regards, +---------------------------------------------------------------+ | SciTech Software - Building Truly Plug'n'Play Software! | +---------------------------------------------------------------+ | Kendall Bennett | Email: KendallB@scitechsoft.com | | Director of Engineering | Phone: (530) 894 8400 | | SciTech Software, Inc. | Fax : (530) 894 9069 | | 505 Wall Street | ftp : ftp.scitechsoft.com | | Chico, CA 95928, USA | www : http://www.scitechsoft.com | +---------------------------------------------------------------+ From owner-ogl-sample@oss.sgi.com Fri Feb 18 03:35:37 2000 Received: by oss.sgi.com id ; Fri, 18 Feb 2000 03:35:18 -0800 Received: from dns.unibw-hamburg.de ([139.11.130.52]:32655 "EHLO rzsparc-3.unibw-hamburg.de") by oss.sgi.com with ESMTP id ; Fri, 18 Feb 2000 03:35:09 -0800 Received: from fawn (fawn.unibw-hamburg.de [139.11.181.22]) by rzsparc-3.unibw-hamburg.de (UniBwH-Mail/2000) with SMTP id MAA21818 for ; Fri, 18 Feb 2000 12:35:07 +0100 (MET) Message-ID: X-Mailer: XFMail 1.2 [p0] on Solaris X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 18 Feb 2000 12:34:34 +0100 (MET) From: Fred Hantelmann To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Problems Building Xfree86 using Quick Recipe Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Platform: RedHat 6.1, egcs-2.91.66 After ignoring the missing file messages from gmake distsi, I built the missing Makefile in $XTOPDIR/xc/programs/Xserver/GL/opengl by hand and get rather impressive compile errors: In file included from global.h:40, from ddxcx.h:61, from ddxci.c:39: context.h:410: field `listCompState' has incomplete type context.h:412: field `currentDispatchState' has incomplete type context.h:413: field `savedDispatchState' has incomplete type The identifiers shown above are declared as follows: __GLdispatchState *dispatchState; __GLdispatchState listCompState; __GLdispatchState *listCompExecState; __GLdispatchState currentDispatchState; __GLdispatchState savedDispatchState; (hmm, is this a compiler bug?) Later on, lots of errors occur like g_lexec.c: In function `__glle_ListBase': g_lexec.c:74: request for member `dispatch' in something not a structure or union >From this experience, I would like to know if anyone got the X-Server compiled and/or what compiler version may do the job. Any help will be appreciated, fred. ------------------------------------ - Dr. Fred Hantelmann - - Fred.Hantelmann@unibw-hamburg.de - ------------------------------------ From owner-ogl-sample@oss.sgi.com Fri Feb 18 03:36:27 2000 Received: by oss.sgi.com id ; Fri, 18 Feb 2000 03:36:08 -0800 Received: from obelix.hrz.tu-chemnitz.de ([134.109.132.55]:61180 "EHLO obelix.hrz.tu-chemnitz.de") by oss.sgi.com with ESMTP id ; Fri, 18 Feb 2000 03:35:54 -0800 Received: from postman.hrz.tu-chemnitz.de by obelix.hrz.tu-chemnitz.de with Local SMTP (PP); Fri, 18 Feb 2000 12:35:31 +0100 Received: from physik.tu-chemnitz.de (root@localhost [127.0.0.1]) by postman.hrz.tu-chemnitz.de (8.9.3/8.9.3) with ESMTP id MAA13169 for ; Fri, 18 Feb 2000 12:35:29 +0100 Message-ID: <38AD2E80.7E55A2F4@physik.tu-chemnitz.de> Date: Fri, 18 Feb 2000 12:35:28 +0100 From: Steffen Seeger Organization: TU Chemnitz X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.5-22 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: ogl-sample@oss.sgi.com Subject: Re: [ogl-sample] How to get started? References: <200002180209675.SM00161@KENDALLB> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Kendall Bennett wrote: > Also where are the public OpenGL header files in the SI? I can't seem > to find them anywhere... These are generated during the build using Perl/awk scripts. It's probably best you do a sample implementation tree build first and take the resulting headers into your project. Steffen PS: Are there any plans to restructure the build process of OpenGL-SI in the next future? _______________________________________________________________________________ Steffen Seeger mailto:seeger@physik.tu-chemnitz.de From owner-ogl-sample@oss.sgi.com Tue Feb 22 10:00:22 2000 Received: by oss.sgi.com id ; Tue, 22 Feb 2000 10:00:13 -0800 Received: from gateway.foliage.com ([208.249.210.50]:63269 "EHLO gateway.foliage.com") by oss.sgi.com with ESMTP id ; Tue, 22 Feb 2000 09:59:53 -0800 Received: (from root@localhost) by gateway.foliage.com (8.9.3/8.9.3) id MAA23782 for ogl-sample@oss.sgi.com.outgoing; Tue, 22 Feb 2000 12:59:51 -0500 Received: from coopersmith (coopersmith.corp.foliage.com [192.9.200.156]) by gateway.foliage.com (8.9.3/8.9.3) with SMTP id MAA23776 for ; Tue, 22 Feb 2000 12:59:51 -0500 Received: by localhost with Microsoft MAPI; Tue, 22 Feb 2000 13:09:20 -0500 Message-ID: <01BF7D36.0814CC70.awadell@foliage.com> From: Andrea Wadell To: "'ogl-sample@oss.sgi.com'" Subject: RE: [ogl-sample] Problems Building Xfree86 using Quick Recipe Date: Tue, 22 Feb 2000 13:09:19 -0500 Organization: Foliage Software Systems, Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-ogl-sample@oss.sgi.com Precedence: bulk Reply-To: ogl-sample@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-outgoing Hi, all, I also got the "incomplete type errors" and found that in .../GL/opengl/g_disp.h, there is #if defined(_LANGUAGE_C) || defined(__cplusplus) around the declaration of struct __GLdispatchTableRec. This "if defined" must have been evaluated to FALSE, since when I took it out, I lost those incomplete type errors (since now it was declaring the struct). I then had to modify g_noptable.c to take out a lot of (void *) since the compiler was complaining that it was not ANSI permissible to set a function pointer to a (void *). Then, I got link errors, which I got rid of by modifying s_global.c. A similar thing to above: #if defined(unix) was blocking the definition of __GLcontext *__gc = NULL; When I took this out, the link errors went away and I did get a build of the server. However!!!! I haven't done anything with it like install it or run it - so maybe it still isn't right... It seems that unix and _LANGUAGE_C are not defined and should be. Probably it's better to define them than to just remove the #ifdefs, and I will probably go back and do it that way... Hope this is helpful. Andrea Wadell awadell@foliage.com -----Original Message----- From: Fred Hantelmann [SMTP:Fred.Hantelmann@UniBw-Hamburg.DE] Sent: Friday, February 18, 2000 6:35 AM To: ogl-sample@oss.sgi.com Subject: [ogl-sample] Problems Building Xfree86 using Quick Recipe Platform: RedHat 6.1, egcs-2.91.66 After ignoring the missing file messages from gmake distsi, I built the missing Makefile in $XTOPDIR/xc/programs/Xserver/GL/opengl by hand and get rather impressive compile errors: In file included from global.h:40, from ddxcx.h:61, from ddxci.c:39: context.h:410: field `listCompState' has incomplete type context.h:412: field `currentDispatchState' has incomplete type context.h:413: field `savedDispatchState' has incomplete type The identifiers shown above are declared as follows: __GLdispatchState *dispatchState; __GLdispatchState listCompState; __GLdispatchState *listCompExecState; __GLdispatchState currentDispatchState; __GLdispatchState savedDispatchState; (hmm, is this a compiler bug?) Later on, lots of errors occur like g_lexec.c: In function `__glle_ListBase': g_lexec.c:74: request for member `dispatch' in something not a structure or union >From this experience, I would like to know if anyone got the X-Server compiled and/or what compiler version may do the job. Any help will be appreciated, fred. ------------------------------------ - Dr. Fred Hantelmann - - Fred.Hantelmann@unibw-hamburg.de - ------------------------------------