Game Development Community

Any advice on compiling T2D with VC6?

by C. N. · in Torque Game Builder · 09/02/2005 (8:28 am) · 5 replies

Hi,
I'm getting unresolved external madness here. With 'Set Active Project' I can compile: ljpg, lpng, lungif and zlib, but when I try to compile glu2d3d or opengl2d3d I'm having some problems. Here is the first few lines of my compile errors/warnings:

Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
Creating library ../lib/out.VC6.RELEASE/opengl2d3d.lib and object ../lib/out.VC6.RELEASE/opengl2d3d.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
opengl2d3d.exp : error LNK2001: unresolved external symbol _glAccum@8
opengl2d3d.exp : error LNK2001: unresolved external symbol _glActiveTextureARB@4
opengl2d3d.exp : error LNK2001: unresolved external symbol _glAllocateVertexBufferEXT@12
(this goes on for about 350 warnings, all pretty much _glEtc and _wglEtc stuff)

These warnings/errors appear in both 'opengl2d3d' and 'glu2d3d'... I just haven't moved some libs into the correct folders, eh?

Any help would be incredible.

Thanks.

#1
09/02/2005 (9:49 am)
Oops! Nevermind, I just had to set VC6 to accept the .cc file extensions. Compiled beautifully!

Oh yeah! :)
#2
09/23/2005 (4:20 pm)
Please. Could you say me how this could be done?
I'm having problems too.
#3
09/23/2005 (4:49 pm)
Well this link had the trick:

http://support.microsoft.com/kb/q181506/

only that I chose (x86) not (alpha) because
I don't have an alpha system...
#4
09/23/2005 (8:08 pm)
I never had any problems compiling with vc6. you just need to build the other helper projects (like zlib, etc) first.
#5
08/09/2006 (5:01 pm)
Does TGB compile in Visual Studio 6? I couldn't find a project DSW for it. Any help would be appreciated.