From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d97397bba859f70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-18 03:39:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: fab102@bluemail.ch (Karim) Newsgroups: comp.lang.ada Subject: Re: Ada OpenGL bindings, how to use them with gnat ? Date: 18 Jul 2003 03:39:57 -0700 Organization: http://groups.google.com/ Message-ID: <4a1641ae.0307180239.4222f084@posting.google.com> References: <4a1641ae.0307150801.71bb5d16@posting.google.com> <20030717010405.349ead8c.david@realityrift.com> <4a1641ae.0307171242.5b143037@posting.google.com> <20030717232401.70a8dbc3.david@realityrift.com> NNTP-Posting-Host: 217.162.208.76 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1058524798 1006 127.0.0.1 (18 Jul 2003 10:39:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Jul 2003 10:39:58 GMT Xref: archiver1.google.com comp.lang.ada:40462 Date: 2003-07-18T10:39:58+00:00 List-Id: Hello David It still doesn`t work. I tried to compile the adaglut example in the adaopengl-0.10/examples/adaglut dir. The command was like this : gnatmake adaglut.adb -I/usr/home/karim/ada/adaopengl-0.10/adaopengl -largs -L/usr/X11R6/lib -lX11 -lXext -lGL -lGLU -lglut Get this msg: /usr/local/lib/gcc-lib/i386-unknown-freebsd5.1/2.8.1/adalib/libgnat.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/X11R6/lib/libglut.so: undefined reference to 'glXBindChannelToWindowSGIX' /usr/X11R6/lib/libglut.so: undefined reference to 'glXQueryChannelDeltasSGIX' /usr/X11R6/lib/libglut.so: undefined reference to 'glXChannelRectSyncSGIX' /usr/X11R6/lib/libglut.so: undefined reference to 'glXChannelRectSGIX' /usr/X11R6/lib/libglut.so: undefined reference to 'glXQueryChannelRectSGIX' gnatlink cannot call /usr/local/bin/adagcc gnatmake *** link failed. When I try to run the make file for (Make.conf , line 4 changed to ADA_CC ?= adagcc) , I get the same error . 1. It seems that gnatmake has problem to find glx lib . Is this, because I don`t installed adabinx ? I looked on the adabinx page, and there is written this is for Linux. Does it also work on FreeBSD ? Should I install the adabindx. 2. I also tried to locate my glx module, lib or whatever. I found only this libs installed in /usr/X11R6/lib : libGL.so / libGL.so.1 / libGLU.a / libGLU.so / libGLU.so.1 / libGLcore.so / libGLcore.so.1 /lbGLw.a but none glx lib . Are the libs o.k ? Where is the glx stuff ? (I have installed the last FreeBSD nvidia driver and mesa) 3. General. I get the message "mktemp probaly unsafed..." each time I compile code with gnatmake. What`s this all about ? It doesn`t matter, but perhaps I can fix it . much thank for your help Greetings Karim