Compilation Problems with opengl2D3D project
by Brian Federici · in Torque Game Engine · 01/04/2002 (12:22 am) · 5 replies
I just redid my computer from scratch the other day and after getting the lastest Dev_Build from the CVS, I can't get the application to build. Every time it tries to build the opengl2D3D project, it can't find the definition for any of the functions.
I'm using Visual C++ 6.0 and I've installed the service pack 5.0. Here are the errors I'm getting:
--------------------Configuration: opengl2d3d - Win32 Debug--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
Creating library ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.lib and object ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAccum@8
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glActiveTextureARB@4
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAllocateVertexBufferEXT@12
(etc.)
I know I'm missing something simple, but I can't figure out what it is. Do I need to set a directory for library functions in VC++ 6.0?
Thanks guys,
Brian
I'm using Visual C++ 6.0 and I've installed the service pack 5.0. Here are the errors I'm getting:
--------------------Configuration: opengl2d3d - Win32 Debug--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
Creating library ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.lib and object ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAccum@8
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glActiveTextureARB@4
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAllocateVertexBufferEXT@12
(etc.)
I know I'm missing something simple, but I can't figure out what it is. Do I need to set a directory for library functions in VC++ 6.0?
Thanks guys,
Brian
#2
36 unresolved externals to go...
-Francois.
01/19/2002 (12:51 pm)
I added msvcrt.lib in the project setting -> link -> libraries. That fixes the problem for DLLMainCRTStart()36 unresolved externals to go...
-Francois.
#3
Brian, did it link correctly before you re-built your computer? Just wondering if there's something missing on your new setup.
01/19/2002 (2:31 pm)
I just doubled check my build and it links fine. Are you guys able to build the test app? You do have the VC6 service pack installed?Brian, did it link correctly before you re-built your computer? Just wondering if there's something missing on your new setup.
#4
01/23/2002 (6:42 am)
Simply double click both .reg files on the VC6 directory and you are ready to go :)
#5
01/23/2002 (4:45 pm)
lol
Torque Owner Chad Coulliette
For example, it found glAccum which was not there before. That leaves us with 37 unresolved externals. I am wondering if the remaining of the openGL functions could be in glut32.lib. For some reason I do not have this library on WinXP anymore. Does anyone know why?
I don't know about DLLMainCRTStartup or the wd3d stuff.
-Francois