Just to clarify a bit, here's my understanding of the dependencies involved:

application depends on freeglut
application depends on OpenGL

freeglut depends on OpenGL
freeglut depends on Windowing System (X, Quartz, Windows, Etc)

OpenGL depends on operating system (Linux, OSX, Windows)
Windowing System depends on operating system (Linux, OSX, Windows)

-- Early


On Feb 11, 2008 6:57 AM, Early Ehlinger <earlye@gmail.com> wrote:
Hi Theeba,

You probably need the libOpenGL *and* the libFreeGlut.  Remember, freeglut provides windowing support, while OpenGL provides drawing support.  They are basically interdependent, so if you use freeglut, you need OpenGL.  (The reverse isn't necessarily true; you can make OpenGL programs that use Quartz for windowing, I believe)

You'll need to change the Makefile for the program you're building, e.g., the demo program.

-- Early Ehlinger

-----Original Message-----
From: "Theeba Soundararajan" <theebasound@gmail.com>
To: "FreeGLUT developers list" <freeglut-developer@lists.sourceforge.net>
Sent: 2/10/08 8:26 PM
Subject: Re: [Freeglut-developer] FreeGlut and Mac OSX

ok; I did a search for libOpenGl and found some .dylib files under the
mac osx version of usr/local/lib. (this is what I need; although my
growing suspicion is that I need a lib file called "freeglut.dylib")

If I have to make any changes to make Mac OSX look for a certain file,
where do I make those changes?  would this be my make file under
freeglut?

thnks,
Theeba


On Sun, Feb 10, 2008 at 10:25 AM, Bernhard Fröhler
<bernhard.froehler@gmx.at> wrote:
> Hello,
>
>  it seems the Mac OS X linker has its own peculiar syntax for addressing
>  installed libraries. I once had similar problems, maybe the solution I found
>  works for you too: try "-framework OpenGL" instead of "-lGL".
>
>  Bernhard
>
>  John F. Fay schrieb:
>
>
> > Theeba,
>  >
>  >       It sounds very much like the linker cannot find the "libGL" library file.
>  >  Unfortunately I have no knowledge of Mac OSX so I cannot givey ou any
>  > direct help there.  From my ignorance, I suggest simply that you search all
>  > the likely places (and if that is not successful, search the entire disk)
>  > for any file that begins with "libGL".  (I am assuming here that "-lGL"
>  > refers to a file named "libGL" followed by an extension, just as "-lm"
>  > refers to a file named "libm" with an extension.  You may wish to find the
>  > "libm" file just to see what the library file names look like.)
>  >
>  >       Is there a high-level way to make sure that OpenGL has been installed on
>  > your machine?  I presume that it has, since the include files must be there
>  > for the library to compile.
>  >
>  >               - John
>  >
>  > -----Original Message-----
>  > From: Theeba Soundararajan
>  > Sent: Sunday, February 10, 2008 1:40 AM
>  > To:   FreeGLUT developers list
>  > Subject:      Re: [Freeglut-developer] FreeGlut and Mac OSX
>  >
>  >  << File: ATT00000.txt; charset = windows-1252 >>
>  >
>  >
>  > -------------------------------------------------------------------------
>  > This SF.net email is sponsored by: Microsoft
>  > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  > _______________________________________________
>  > Freeglut-developer mailing list
>  > Freeglut-developer@lists.sourceforge.net
>  > https://lists.sourceforge.net/lists/listinfo/freeglut-developer
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  _______________________________________________
>  Freeglut-developer mailing list
>  Freeglut-developer@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/freeglut-developer
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer