Error during Compile

Post Reply
Arindam
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Error during Compile

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Arindam,

You have to use GTGUI.lib not GTWIN.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply