Game Development Community

Compile with errors - how to remove these errors?

by Ironbelly Studios · in Torque Game Engine · 06/21/2006 (11:55 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/23/2006 (4:55 pm)
I .Just sucessfully compiled using VC++ 2005 just recently. The warnings you are getting for
incremental linking are no problem, these can be resolved by selecting incremental linking
for that project in the Compiler settings ( Cant remember where just now).

What Libraries are you using ie Platform SDK (full) or the SDK with the compiler ?

PS. f you have a look under project dependencies - right click TorqueDemo -
you will find you can remove those projects not required by the Demo - these
include the buildWAD project.
#2
06/28/2006 (10:12 am)
Use the VS 2005 project on TDN