From owner-freebsd-questions Sun Feb 13 14: 0:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merkur.hrz.uni-giessen.de (merkur.hrz.uni-giessen.de [134.176.2.12]) by builder.freebsd.org (Postfix) with ESMTP id 9F4624136 for ; Sun, 13 Feb 2000 14:00:15 -0800 (PST) Received: from caspar.mni.fh-giessen.de by merkur.hrz.uni-giessen.de with ESMTP; Sun, 13 Feb 2000 23:00:15 +0100 Received: from sun33.mni.fh-giessen.de ([134.176.183.133]) by caspar.mni.fh-giessen.de with esmtp (Exim 2.12 #6) id 12K747-0002G4-00; Sun, 13 Feb 2000 23:00:27 +0100 Received: from localhost (hg9456@localhost) by sun33.mni.fh-giessen.de (8.9.3+Sun/8.8.8) with ESMTP id WAA03468; Sun, 13 Feb 2000 22:59:58 +0100 (MET) X-Authentication-Warning: sun33.mni.fh-giessen.de: hg9456 owned process doing -bs Date: Sun, 13 Feb 2000 22:59:57 +0100 (MET) From: Ariel Burbaickij X-Sender: hg9456@sun33 To: Woody Carey Cc: Ariel Burbaickij , freebsd-questions@FreeBSD.ORG Subject: Re: Working with OpenGL under FreeBSD. In-Reply-To: Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 13 Feb 2000, Woody Carey wrote: > Hi Ariel, > > If you do an 'ls' for the file, is it there? > > It appears as though the include path you are specifying in your > build script is '/usr/X11R6/lib'. If /usr/X11R6/lib/GL/glut.h > does not exist, then the compiler will complain. Add another -L flag > to point to the location of the GL includes on your system. The file /usr/X11R6/lib/GL/glut.h Surely does not exist.It is not expected to be there(afaik surely).glut.h is in /usr/X11R6/include/GL/glut.h Compiler expects something like libglut.a there.I surely will try your suggestion out but I am not particullary optimistic. The file /usr/X11R6/lib/libglut.a exists also. > Does Mesa (OpenGL clone) name itself 'GL' when you install it? Yes it names itself GL > I was not aware of there being a true native OpenGL library on FreeBSD. > How did you install OpenGL on your FreeBSD box? Mesa port? Yes.Mesa port.You are right. kind regards, Ariel > Regards, > > Woody Carey > > > On Sun, 13 Feb 2000, Ariel Burbaickij wrote: > > > Explanation of included files: > > 1) Short && stupid script for compilation of source files that include > > some GL-libraries. > > 2)My own header(I tried to include GL/glut.h and this failed. and some > > colour definitions) > > Both of them I took from my working development under SUN and Linux. > > With some obvious changes.(usr/openwin was changed to /usr/X11R6) > > > > Problem description: > > As soon as I Start to compile something.I get error from compiler with > > complaints that it could not find GL/glut.h from another included file. > > Another included file is ogl.h surely.)File /usr/X11R6/GL/glut.h and > > I tried to include it with full path it has not worked either. > > > > Any solutions,suggestions,hints ? > > > > In case you have any additional questions I will be glad to answer them > > > > regards, > > Ariel > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message