Thread overview
GLU32.LIB contains no gluPerspective?
Aug 26, 2003
John Reimer
Aug 26, 2003
John Reimer
Aug 26, 2003
Arjan Knepper
Aug 26, 2003
John Reimer
August 26, 2003
Perhaps my setup is corrupt, but I'm having trouble compiling a very simple OpenGL program in the IDDE.  I added Opengl32.lib and glu32.lib to the project.  Everything compiles, but the linker balks saying that the _gluPerspective@32 symbol is undefined.  This symbol should be in glu32.lib as far as I know.  But it doesn't appear to be in there! I took a peek at its contents using dmpobj and found only 2 symbols in there. Is this correct? Is anyone familiar as to why the symbol (and a whole slew of others too, I imagine) isn't there?  Are the opengl libs complete as is? Is this one corrupt? Help!

I am using DMC 8.35 from proper cumulative CD updates.

Later,

John

August 26, 2003
John Reimer wrote:

> Perhaps my setup is corrupt, but I'm having trouble compiling a very simple OpenGL program in the IDDE.  I added Opengl32.lib and glu32.lib to the project.  Everything compiles, but the linker balks saying that the _gluPerspective@32 symbol is undefined.  This symbol should be in glu32.lib as far as I know.  But it doesn't appear to be in there! I took a peek at its contents using dmpobj and found only 2 symbols in there. Is this correct? Is anyone familiar as to why the symbol (and a whole slew of others too, I imagine) isn't there?  Are the opengl libs complete as is? Is this one corrupt? Help!
> 
> I am using DMC 8.35 from proper cumulative CD updates.
> 
> Later,
> 
> John
> 

To answer my own post, there are supposed to be WAY more glu* symbols in the file GLU32.LIB.  Mine seems to be corrupt (only 2k in size) for some reason.

Which past CD update contains the most recent Opengl headers and libs? I should probably take a peek there to see where the discrepancy lies.

Later,

John

August 26, 2003
Quick check: mine is form 08/08/1996 6.144K GLU32.LIB.

When you want a newer version, create the (imp)lib yourself using the glu32.dll from hour system directory and the implib found at http://www.digitalmars.com/~jan

Arjan

John Reimer wrote:
> John Reimer wrote:
> 
>> Perhaps my setup is corrupt, but I'm having trouble compiling a very simple OpenGL program in the IDDE.  I added Opengl32.lib and glu32.lib to the project.  Everything compiles, but the linker balks saying that the _gluPerspective@32 symbol is undefined.  This symbol should be in glu32.lib as far as I know.  But it doesn't appear to be in there! I took a peek at its contents using dmpobj and found only 2 symbols in there. Is this correct? Is anyone familiar as to why the symbol (and a whole slew of others too, I imagine) isn't there?  Are the opengl libs complete as is? Is this one corrupt? Help!
>>
>> I am using DMC 8.35 from proper cumulative CD updates.
>>
>> Later,
>>
>> John
>>
> 
> To answer my own post, there are supposed to be WAY more glu* symbols in the file GLU32.LIB.  Mine seems to be corrupt (only 2k in size) for some reason.
> 
> Which past CD update contains the most recent Opengl headers and libs? I should probably take a peek there to see where the discrepancy lies.
> 
> Later,
> 
> John
> 

August 26, 2003
Arjan Knepper wrote:
> Quick check: mine is form 08/08/1996 6.144K GLU32.LIB.
> 
> When you want a newer version, create the (imp)lib yourself using the glu32.dll from hour system directory and the implib found at http://www.digitalmars.com/~jan
> 

Yeah, I dug out my CDROM and found the GLU32.LIB of the same date and size as yours above. After copying that over, I found everything worked fine again :).

A newer version? Yes, I want the newer version! Thanks, I'll go get that one too.  I tried to implib the system glu32.dll on XP but found the symbols didn't get the leading '_' character.

Thanks for the quick response and the link!

Later,

John