Page 1 of 1

Error during Compile

Posted: Wed Mar 28, 2007 9:31 pm
by Arindam
Hi everybody,

I am Creating a .mak file in MSMAKE and compiling my code. During compiling the following error code generating, which is unresolved.

error LNK2019: unresolved external symbol _xCCGetLargestConsoleWindowSize referenced in function _hb_gt_SetMode regcode.exe : fatal error LNK1120: 1 unresolved externals

I am creating gtwin.lib (gtwin.c, cmdarg.c and mousewin.c). It is creating successfully.

I think, the above symbol is part of gtwin.c. I am including wincon.h (i.e. “#include wincon.h”) also in gtwin.c for testing. But practically there is no effect.

Can any one give me solution?

With regards,
Arindam

Posted: Wed Mar 28, 2007 9:44 pm
by Antonio Linares
Arindam,

You have to use GTGUI.lib not GTWIN.lib