OpenGL error on compile...
by Chris · in Torque Game Engine · 05/15/2003 (7:05 pm) · 4 replies
when i try to compile the sdk, i get this error. i tried everything i could think of, and im still at a lose. Any advice would be greatly appreciated. below is the error i recieve
--------------------Configuration: Torque Demo - Win32 Release--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "\Torque\lib\out.VC6.RELEASE\glu2d3d.lib"
Error executing link.exe.
torqueDemo.exe - 1 error(s), 0 warning(s)
--------------------Configuration: Torque Demo - Win32 Release--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "\Torque\lib\out.VC6.RELEASE\glu2d3d.lib"
Error executing link.exe.
torqueDemo.exe - 1 error(s), 0 warning(s)
About the author
#2
05/16/2003 (1:17 pm)
Hmmm. Still nothing. I must be doing something wrong. After compile, it say ERROR found 379 errors. al the errors are the same, its missing some openGL thing. any ideas?
#3
05/16/2003 (1:20 pm)
379 errors indicates you haven't read through the instructions. Read through the documentation again.
#4
06/07/2003 (12:31 am)
I got this 379 error problem, too. There's a .reg file in the same directory as the demo's .dsw file. Import that into your registry via regedit.exe (or I think just double click it). It allows VC6 to compile files that have a .cc extension, which is where all those OpenGL definitions reside. As for the documentation referred to by the last poster, all I found about the demo was a single HTML file that said "install the demo". Maybe he could tell us where this documentation can be found.
Torque Owner Nathan Martin
TRON 2001 Network
Also there are multiple project files and don't open those, open the actual VC++ workspace file called Torque SDK.dsw.
From there click on Build menu then Batch Build and just select all the releases and unselect debug building so that it will speed up the compile process, but once you run into something you think is a problem with torque compile the debug builds and try that to see if they'll give you any clue to what's wrong.