You probably moved hbmk2.exe out of the Harbour directory structure
(or vice versa), as an end result hbmk2's Harbour dir layout
autodetection cannot work.
Yes, I don't like to work directly inside the SVN repository.
Anyway, I'm going to test...
You don't have to be inside the SVN source repository sandbox.
You can 'install' Harbour to whereever else and everything
should keep working there, too.
Now I'm using
@ ECHO OFF
SET PATH=e:\bcc55\bin;%PATH%
\harbour_cvs\harbour\bin\hbmk2 bug
and what I get is
hbmk2: Processing configuration: E:\harbour_cvs\harbour\bin\hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12504)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'bug.prg'...
Lines 1188, Functions/Procedures 10
Generating C source output to 'bug.c'... Done.
bug.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_WIN_OLEAUTO' referenced from E:
\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN___OLEPDISP' referenced from E:
\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN_WIN_P2N' referenced from E:
\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN___OLECREATEOBJECT' referenced
from E:\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN_WIN_OLEERRORTEXT' referenced
from E:\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN___OLEGETACTIVEOBJECT' referenced
from E:\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN_WIN_PRN' referenced from E:
\HARBOUR\BUG.OBJ
Error: Unresolved external '_HB_FUN_WIN_BMP' referenced from E:
\HARBOUR\BUG.OBJ
hbmk2: Error: Running linker. 2
ilink32.exe @C:\DOCUME~1\ENRICO~1\IMPOST~1\Temp\rpi1fz.lnk
I really don't understand how to use hbmk2...
Simply add the extra libs you use. In this case: -lhbwin
Or, this is again can be the result of double hbwin.lib and the wrong
one gets picked.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour