Those bld.bat files are written to suppot both Harbour and xHarbour.
In xHarbour libraries are rtl.lib, vm.lib, ..., in Harbour - hbrtl.lib, hbvm.lib, .... The bld.bat checks, if the hbvm.lib exists in default place for Harbour (%HRB_DIR%\lib), and, if yes, goes to the 'hrb' mark in a bat file:
if exist %HRB_DIR%\lib\hbvm.lib goto hrb
if no - it thinks that you have xHarbour and uses xHarbour's names of libraries.
So, you need to change bat file to use your path to libraries, or to copy Harbour libraries to %HRB_DIR%\lib.
Another option is to use hbmk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just went ahead and copied all of the .lib files from c:\minigui\harbour\lib to c:\hb32\lib, and it almost builds. (Yeah, I know it's convoluted, but it doesn't work any other way).
But now it returns an unresolved external type message
Error: Unresolved external '_HB_FUN_HB_GT_GUI_DEFAULT' referenced from ..\HWGUI\BCC\LIB\HWGUI.LIB|hcwindow
Those bld.bat files are written to suppot both Harbour and xHarbour.
In xHarbour libraries are rtl.lib, vm.lib, ..., in Harbour - hbrtl.lib, hbvm.lib, .... The bld.bat checks, if the hbvm.lib exists in default place for Harbour (%HRB_DIR%\lib), and, if yes, goes to the 'hrb' mark in a bat file:
if exist %HRB_DIR%\lib\hbvm.lib goto hrb
if no - it thinks that you have xHarbour and uses xHarbour's names of libraries.
So, you need to change bat file to use your path to libraries, or to copy Harbour libraries to %HRB_DIR%\lib.
Another option is to use hbmk.
Yep, I understand now. Thanks for the clarification.
However, I'm using Harbour, but the necessary files are not part of the distribution.
hbvm.lib, hbrtl.lib, or wildcard searchers rtl.lib etc, are not in the entire set of subfolders off c:\hb32.
I can't find them anywhere, except in the c:\minigui distribution.
Is HWGui using a specific version of Hb32 that contains these libraries? Can you forward a link?
Thanks,
I just went ahead and copied all of the .lib files from c:\minigui\harbour\lib to c:\hb32\lib, and it almost builds. (Yeah, I know it's convoluted, but it doesn't work any other way).
But now it returns an unresolved external type message
Error: Unresolved external '_HB_FUN_HB_GT_GUI_DEFAULT' referenced from ..\HWGUI\BCC\LIB\HWGUI.LIB|hcwindow
For anyone who's paying attention, I got it working, with a test file in \hwgui\samples
I don't actually recall everything I tried - because there was a lot - but
ANNOUNCE HB_GT_SYS
REQUEST HB_GT_WIN_DEFAULT
Immediately after the statement
, insert this:
compile with a -b of course, and the debugger will open without you having to inject an altd()
Hello sfexplorer,
are you pleased so that Luiz can close this ticket ?
With regards,
MNI TNX, 73 es 55 de
DF7BE, Wilfried
Yes, absolutely. I forgot about this, sorry.
Please close, thanks.
-----------------------------------------From: "Wilfried Brunken"
To: "[hwgui:support-requests]"
Cc:
Sent: Sunday November 15 2020 9:17:06AM
Subject: [hwgui:support-requests] #7 rtl.lib
are you pleased so that Luiz can close this ticket ?
MNI TNX, 73 es 55 de
DF7BE, Wilfried
GROUP: v1.0_(example)
CREATED: Wed Jan 30, 2019 08:49 PM UTC by sfexplorer
LAST UPDATED: Sun Feb 10, 2019 04:53 AM UTC
OWNER: nobody
locate this, either in the hb32 or the hwgui folders.
anything hwgui-related?
[2]https://sourceforge.net/p/hwgui/support-requests/7/ [3]
[4]https://sourceforge.net/auth/subscriptions/ [5]
*
Links:
[1]
http://webmail.spectrum.net/HTTPS://SOURCEFORGE.NET/P/HWGUI/SUPPORT-REQUESTS/7/
[2] https://sourceforge.net/p/hwgui/support-requests/7/
[3] https://sourceforge.net/p/hwgui/support-requests/7/
[4] https://sourceforge.net/auth/subscriptions/
[5] https://sourceforge.net/auth/subscriptions/