Game Development Community

Compile errors of the Torque SDK

by Ironbelly Studios · in Torque Game Engine · 06/21/2006 (11:56 pm) · 2 replies

Hello everyone
here i am facing some problem while compiling the TGE
i am using the VC++.net environment to do so
the compile is complete but with some warnings and errors
here i am giving the details of the warning as given by the system in as is condition


buildWad error LNK2019: unresolved external symbol _ImmAssociateContext@8 referenced in function "public: static void __cdecl Platform::enableKeyboardTranslation(void)" (?enableKeyboardTranslation@Platform@@SAXXZ)
buildWad error LNK2019: unresolved external symbol _ImmReleaseContext@8 referenced in function "public: static void __cdecl Input::activate(void)" (?activate@Input@@SAXXZ)
buildWad error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "public: static void __cdecl Input::activate(void)" (?activate@Input@@SAXXZ)
buildWad fatal error LNK1120: 3 unresolved externals

these r all related to buildwad

and below is the error log saved by the compile
at "file://c:\Torque\SDK\tools\out.VC6.DEBUG\buildWad\BuildLog.htm"

Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
engine_DEBUG.lib(winWindow.obj) : error LNK2019: unresolved external symbol _ImmAssociateContext@8 referenced in function "public: static void __cdecl Platform::enableKeyboardTranslation(void)" (?enableKeyboardTranslation@Platform@@SAXXZ)
engine_DEBUG.lib(winInput.obj) : error LNK2019: unresolved external symbol _ImmReleaseContext@8 referenced in function "public: static void __cdecl Input::activate(void)" (?activate@Input@@SAXXZ)
engine_DEBUG.lib(winInput.obj) : error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "public: static void __cdecl Input::activate(void)" (?activate@Input@@SAXXZ)
../tools/buildWad_DEBUG.exe : fatal error LNK1120: 3 unresolved externals



if any one could tell me how to remove them it would be greatfull and much appreciated
thanking you

#1
06/22/2006 (4:10 am)
You should check if the project is linking with Imm32.lib (a file that is part of the Win32 Platform SDK) and, of course, you should check that you have such file.
#2
07/28/2006 (5:56 am)
I had this issue. Linking Imm32.lib as a dependency of the buildWad project fixes it.