Game Development Community

Torque 1.4 comile error VC 6 - resolution

by Dee · in Torque Game Engine · 11/24/2005 (5:00 am) · 1 replies

Issue:

Getting an error during compile
- Using Visual Studio 6
- Using Torque SDK 1.4 (exe) download

error LNK2001: unresolved external symbol "private: static class TextureObject * __cdecl TextureManager::loadTexture(char const *,enum TextureHandleType,bool,bool)" (?loadTexture@TextureManager@@CAPAVTextureObject@@PBDW4TextureHandleType@@_N2@Z)
..about 10-12 related errors

Resolution:

Required adding the below to platform\platform.h

#ifndef _GTEXMANAGER_H_
# include "dgl/gtexManager.h"
#endif

#1
11/24/2005 (5:00 am)
** Response Post
from Griffin Milsap

Quote:
Which project gave you these errors?

I just compiled the whole SDK with VC6 SP6 about 10 minutes ago. I didn't encounter any such error. I did however get a ton of warnings which are mostly re-defination warnings. I think somewhere, some file got compiled twice.

-Griff

Release project, Torque Demo.dsw