Recent

Author Topic: KOL package file intalll fail,  (Read 11566 times)

nhsoft

  • New member
  • *
  • Posts: 7
KOL package file intalll fail,
« on: October 24, 2013, 02:58:31 am »
Lazarus Version : V1.0.12
KOL-CE Version : kol-ce-2.80.3

Open MirrorKOLPackage.lpk file from Lazarus intall, IDE show error message
Quote
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(348,4) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(349,4) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(350,4) Warning: Illegal identifier "UNSAFE_CAST" for $WARN directive
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(485,7) Warning: Virtual methods are used without a constructor in "_TObj"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(675,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(675,16) Note: Virtual method "destructor TList.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(840,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(840,16) Note: Virtual method "destructor TThread.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(1004,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(1004,16) Note: Virtual method "destructor TStream.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(1274,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(1274,16) Note: Virtual method "destructor TStrList.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(2247,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(2247,16) Note: Virtual method "destructor TCanvas.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(2743,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(2743,16) Note: Virtual method "destructor TBitmap.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(3048,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(3048,16) Note: Virtual method "destructor TIcon.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(3865,75) Error: Identifier not found "TNMTBCustomDraw"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6434,32) Error: Identifier not found "PBM_GETPOS"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6434,32) Error: The value for a property index must be of an ordinal type
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6434,47) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6434,62) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6438,32) Error: Identifier not found "PBM_GETRANGE"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6438,32) Error: The value for a property index must be of an ordinal type
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6438,47) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6438,67) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6690,67) Error: Identifier not found "LVCF_IMAGE"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6690,82) Error: The value for a property index must be of an ordinal type
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6690,98) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6690,114) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6695,67) Error: Identifier not found "LVCF_ORDER"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6695,82) Error: The value for a property index must be of an ordinal type
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6695,98) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(6695,114) Error: Illegal symbol for property access
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(9727,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(9727,16) Note: Virtual method "destructor TTimer.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(9832,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(9832,16) Note: Virtual method "destructor TTrayIcon.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(11278,5) Warning: Destructor should be public
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(11278,16) Note: Virtual method "destructor TDirList.Destroy;" has a lower visibility (protected) than parent class TObj (public)
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(12707,62) Error: Identifier not found "TVM_SETBKCOLOR"
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(12707,62) Error: Illegal expression
C:\lazarus\components\kol-ce-2.80.3\kol\KOL.PAS(12906,1) Fatal: There were 19 errors compiling module, stopping


nhsoft

  • New member
  • *
  • Posts: 7
Re: KOL package file intalll fail,
« Reply #1 on: October 24, 2013, 04:26:25 pm »
apply http://sourceforge.net/p/kol-ce/patches/3/ patch,   install kol-ce success on lazarus-1.0.12-fpc-2.6.2-win32 

nhsoft

  • New member
  • *
  • Posts: 7
Re: KOL package file intalll fail,
« Reply #2 on: October 25, 2013, 05:51:38 am »
My New Problem: when i create new kol-ce project, IDE compile error message :
Quote
unit1.pas(38,2) Fatal: It is not possible to include a file that starts with an UTF-8 BOM in a module that uses a different code page

how to fixed error message

 

TinyPortal © 2005-2018