Game Development Community

Opengl2d3d errors with VC++ 6

by ALFRED GATT · in Torque Game Builder · 04/14/2005 (8:27 pm) · 5 replies

Please help me resolve the following errors. I opene the workspace then select build all then I get 379 errors from the opengl2d3d.lib.

Is it just a setting I need to change please help ?

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
_wglSwapBuffers@4
../example/opengl2d3d.dll : fatal error LNK1120: 378 unresolved externals
Error executing link.exe.

T2D.exe - 379 error(s), 2 warning(s)

#1
04/14/2005 (9:31 pm)
I converted the vc 6 version to vc 2003 .net and got errors from compiling the main game but no problems with opengl2d3d.

Kind of wierd
#2
04/15/2005 (12:04 am)
Are you building the debug or release project? What compiler are you using?
#3
05/17/2005 (8:03 am)
Hi,

I've also had no success in compiling version 1.0.2. I reinstalled it and tried to compile it using vc6, thinking that it should theorectically build immediately (i just used "Build release") No dice. I got an error involving "glu2d3d.lib". I tried again and recieved the same error as Alfred did. I took around the forums, but as a non-tge owner, i was restricted from looking at a promising looking post. Any help would be greatly appreciated.

Thanks
Cal
#4
05/17/2005 (12:59 pm)
@Cal, when I was looking into this the closest I got was an internal compiler error. I setup Eclipse and, although it has some editor issues, works well enough.
#5
05/17/2005 (1:47 pm)
I actually tried vc6, eclipse and vc 7. vc7 was the ticket, i have no idea why.