Menu

#7 rtl.lib

v1.0_(example)
closed
nobody
None
1
2020-11-16
2019-01-30
sfexplorer
No

Hi,

Several of the bld*.bat files refer to an rtl.lib. But I cannot locate this, either in the hb32 or the hwgui folders.

Do I need to build this library first, before trying to compile anything hwgui-related?

Discussion

  • Alexander S.Kresin

    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.

     
    • sfexplorer

      sfexplorer - 2019-01-31

      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,

       
  • sfexplorer

    sfexplorer - 2019-01-31

    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

     
  • sfexplorer

    sfexplorer - 2019-02-10

    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

    1. As recommended elsewhere, put this at the top of your main source file:

    ANNOUNCE HB_GT_SYS
    REQUEST HB_GT_WIN_DEFAULT

    1. In the HWGUI samples folder, there's a bld.bat.

    Immediately after the statement

    echo %HWGUI_INSTALL%\lib\hwgdebug.lib + >> b32.bc
    

    , insert this:

    echo %HRB_DIR%\lib\hbdebug.lib + >> b32.bc
    

    compile with a -b of course, and the debugger will open without you having to inject an altd()

     
  • Wilfried Brunken

    Hello sfexplorer,
    are you pleased so that Luiz can close this ticket ?

    With regards,
    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
  • sfexplorer

    sfexplorer - 2020-11-15

    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

    Hello sfexplorer,
    

    are you pleased so that Luiz can close this ticket ?

    With regards,
    

    MNI TNX, 73 es 55 de
    DF7BE, Wilfried


     [SUPPORT-REQUESTS:#7] [1] RTL.LIB
    
    STATUS: open
    

    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

    Hi,
    
    Several of the bld*.bat files refer to an rtl.lib. But I cannot
    

    locate this, either in the hb32 or the hwgui folders.

    Do I need to build this library first, before trying to compile
    
    Sent from sourceforge.net because you indicated interest in
    

    [2]https://sourceforge.net/p/hwgui/support-requests/7/ [3]

    To unsubscribe from further messages, please visit
    

    [4]https://sourceforge.net/auth/subscriptions/ [5]
    *

    [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/

     
  • Luiz Rafael Culik

    • status: open --> closed
     

Log in to post a comment.