Article View: alt.os.linux.mandrake
Article #331OpenGL Programming for X Window
From: Michael Sgier
Date: Sun, 17 Nov 2002 09:14
Date: Sun, 17 Nov 2002 09:14
41 lines
2717 bytes
2717 bytes
Originally intented for the author of the book but I can't reach him. Thanks indeed for help doing my first steps. Dear Mark unfortunately I'm not an C++ specialist altough I try to get through your book. While trying to compile the glxdino example on Linux Mandrake 9.0 I get the following error: [sgier@linux-mandrake glxdino]$ gcc glxdino.c glxdino.c:19:20: GL/glu.h: No such file or directory glxdino.c: In function `extrudeSolidFromPolygon': glxdino.c:137: syntax error before '*' token glxdino.c:142: `tobj' undeclared (first use in this function) glxdino.c:142: (Each undeclared identifier is reported only once glxdino.c:142: for each function it appears in.) glxdino.c:145: `GLU_BEGIN' undeclared (first use in this function) glxdino.c:146: `GLU_VERTEX' undeclared (first use in this function) glxdino.c:147: `GLU_END' undeclared (first use in this function) glxdino.c: In function `main': glxdino.c:239: warning: return type of `main' is not `int' I hope not to bother you if I ask you for help compiling the first example. Big thanks. I understand that GL/glu.h is missing. Should be in /usr/local/include? Did I miss to install something? I have the actual Mesa installed. Before I tried to install the flightsim GL-117 ( or some name like that ) and got the same error. Greetings Michael Sgier PS: Same for glut...but how could I check for glut already beeing installed? [root@linux-mandrake libglut]# make all cc -I.. -O -c -o glut_bitmap.o glut_bitmap.c In file included from glut_bitmap.c:8: ../GL/glut.h:11:20: GL/glu.h: No such file or directory make: *** [glut_bitmap.o] Fehler 1 [root@linux-mandrake libglut]#
Technical Details
Message-ID:
<3dd7798e$0$334$5402220f@news.sunrise.ch>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!feed.news.nacamar.de!eusc.inter.net!news-ge.switch.ch!newsfeed.sunrise.ch!news.sunrise.ch!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,3530f7f63958d62b,start X-Google-Attributes: gidf4b73,public X-Google-Thread: f8a83,3530f7f63958d62b,start X-Google-Attributes: gidf8a83,public X-Google-ArrivalTime: 2002-11-17 03:16:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!feed.news.nacamar.de!eusc.inter.net!news-ge.switch.ch!newsfeed.sunrise.ch!news.sunrise.ch!not-for-mail Date: Sun, 17 Nov 2002 10:14:32 +0100 From: Michael Sgier <sgier@dplanet.ch> User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 Newsgroups: alt.os.linux.mandrake,ch.comp.os.linux Subject: OpenGL Programming for X Window Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 43 Message-ID: <3dd7798e$0$334$5402220f@news.sunrise.ch> NNTP-Posting-Host: 62.167.247.2 X-Trace: 1037531535 news.sunrise.ch 334 62.167.247.2