From owner-freebsd-questions Sun Feb 13 13:50:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wcarey.com (mail.wcarey.com [209.181.61.113]) by builder.freebsd.org (Postfix) with ESMTP id A73694447 for ; Sun, 13 Feb 2000 13:50:25 -0800 (PST) Received: from mail.wcarey.com (mail.wcarey.com [209.181.61.113]) by mail.wcarey.com (8.9.3/8.9.3) with ESMTP id NAA09121; Sun, 13 Feb 2000 13:47:26 -0800 (PST) (envelope-from wcarey@wcarey.com) Date: Sun, 13 Feb 2000 13:47:25 -0800 (PST) From: Woody Carey To: Ariel Burbaickij Cc: 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 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. Does Mesa (OpenGL clone) name itself 'GL' when you install it? 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? 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