| garrethgoh@gmail.com 2006-04-08, 6:55 pm |
| Hi,
I'm new in harbour and xMate. I have the following program (test.prg):
&&-------------------------------------------
function main()
local i
cls
for i:= 1 to 10
@i,0 say transform(i, "99")
next
return (nil)
&&-------------------------------------------
I use Harbour (Alpha Build 45), Microsoft compiler to compile and
Microsoft Linker to link. I also use xMate. During the linking process,
I get the following error messages. I cannot figure out what is wrong
with it for 3 hours.
Does anyone know what causes the error? TIA.
---------------------------------------------------------------
D:\Test\Obj\test.Obj /OUT:D:\Test\Test.Exe
test.Obj : error LNK2001: unresolved external symbol _HB_FUN___DBGENTRY
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_TRANSFORM
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_DEVOUT
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_DEVPOS
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_SETPOS
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_SCROLL
test.Obj : error LNK2019: unresolved external symbol
_hb_vmProcessSymbols referenced in function _hb_vm_SymbolInit_TEST
test.Obj : error LNK2019: unresolved external symbol _hb_vmExecute
referenced in function _HB_FUN_MAIN
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
D:\Test\Test.Exe : fatal error LNK1120: 9 unresolved externals
---------------------------------------------------------------
Regards,
Garret
|