Could not compile used unit 'WPGrprop.pas' -

  • Help - I had to upgrade my hardware and rebuild the Delphi Components. I experienced an issue regarding WPForm2 compiling into the WPTools5 Bundle. Here is the stats and actions taken.

    0) XP Professional - Delphi 5 Pro - Environment paths all set
    1) All bpl deleted with D5 closed.
    2) Installed in directories
    Program Files\wPDF3
    Program Files\wpForm2
    Program Files\wpShared
    Program Files\wpTools5
    2a) The PremSource files were copied over to the "Program Files\wpTools5\D5\"
    2b) WPFRtf copied to WPFRtf5
    3) cut-n-paste from WPINC
    {$DEFINE WPREPORTER} //= WPReporter addon, part of "Bundle"!
    // https://www.wpcubed.com/products/wpreporter/index.htm
    {.$DEFINE WPQUICK4} //=Support for Quickreport 4 - please ask for pricing
    {.$DEFINE WPSPELL} //= spellcheck addon.
    // https://www.wpcubed.com/products/wpspell/
    {$DEFINE WPPREMIUM} //= addon for footnotes and text boxes
    // https://www.wpcubed.com/products/wptools/premium/
    {$DEFINE WPPDFEX} //= link in wPDF, our PDF addon
    // Include the WPShared library right into the WPTools package
    {$DEFINE INCLUDE_WPSHARED}
    // Include our product WPForm right into WPTools
    {$DEFINE INCLUDE_WPFORM}

    The D5 Component Palette shows tabs for
    WPTools/WP-SHared/WPReporter/wPDF


    Error txt from compiling using - WPTools5_D5.dpk
    [Warning] WPBltStyleDlg.pas(135): Return value of function 'TWPBulletStyleDialog.EditStyleNums' might be undefined
    [Hint] WPBltStyleDlg.pas(95): Variable 's' is declared but never used in 'TWPBulletStyleDialog.EditStyleNums'
    [Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
    [Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
    [Fatal Error] wpfrm.pas(18): Could not compile used unit 'WPGrprop.pas'

    What have I missed?

    This is a Cut-n-paste from WPForm2\D5\wpf_inc.inc
    {.$DEFINE NODBUNITS} { enable this define if you have C++Builder Standard }
    {$DEFINE WPF_USEWP} // Activate this define to use and link WPTools into the
    // designtime enviroment Note: to use WPTools in your projects add unit
    // WPFRtf to the uses clause of one of the units
    {.$DEFINE USEWPFPRINTER} { Use different printer units named printers_wpf.pas }
    {.$DEFINE WPDEBUG} // Create debugging symbols

    After WPForm install is when to include the WPFRtf in the uses clauses right?