www.digitalmars.com         C & C++   DMDScript  

c++ - GLU32.LIB contains no gluPerspective?

reply John Reimer <jjreimer telus.net> writes:
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
Aug 26 2003
parent reply John Reimer <jjreimer telus.net> writes:
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
Aug 26 2003
parent reply Arjan Knepper <arjan ask.me> writes:
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
Aug 26 2003
parent John Reimer <jjreimer telus.net> writes:
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
Aug 26 2003