From: John F. F. <joh...@cy...> - 2008-02-09 19:32:07
|
Theeba, It looks like the compiler has successfully built the "freeglut" libraries and is now trying to build the demonstration programs. "CallbackMaker" is the first demonstration program. The "gcc" compiler is looking for the OpenGL library "libGL.a" (or "libGL.so") and is not finding it. If you changed the path to the library in one place (that "CFLAGS" change you mentioned) you may need to make it in another place where the demonstration programs are built. The simplest alternative is to ignore the demonstration programs. When something else goes wrong later, though, working demonstration programs would be a Very Good Thing to have. My suggestion is to look for some place else that has "CFLAGS" and fix it. - John -----Original Message----- From: Theeba Soundararajan Sent: Friday, February 08, 2008 11:06 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] FreeGlut and Mac OSX << File: ATT00010.txt; charset = windows-1252 >> |
From: John F. F. <joh...@cy...> - 2008-02-10 14:18:22
|
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 >> |
From: Bernhard F. <ber...@gm...> - 2008-02-10 18:26:04
|
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 > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: Theeba S. <the...@gm...> - 2008-02-11 02:26:45
|
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 <ber...@gm...> 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 > > Fre...@li... > > 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 > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > |
From: Early E. <ea...@gm...> - 2008-02-11 12:56:51
|
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" <the...@gm...> To: "FreeGLUT developers list" <fre...@li...> 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 <ber...@gm...> 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 > > Fre...@li... > > 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 > Fre...@li... > 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 Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: Early E. <ea...@gm...> - 2008-02-11 15:52:38
|
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 <ea...@gm...> 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" <the...@gm...> > To: "FreeGLUT developers list" <fre...@li...> > 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 > <ber...@gm...> 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 > > > Fre...@li... > > > 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 > > Fre...@li... > > 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 > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > |