Recent

Author Topic: Installing AnchorDockingDsgn Failed with Error [Resolved]  (Read 2221 times)

oghz

  • New member
  • *
  • Posts: 9
Installing AnchorDockingDsgn Failed with Error [Resolved]
« on: January 29, 2022, 12:25:58 pm »
Good day guys,

I tried to install AnchorDockingDsgn and recompile the ide, but i got an error shown in the picture and the log is shown below.

I am using this version of Lazarus Lazarus-2.2.0-fpc-3.2.2-win64

Quote
Compile package AnchorDocking 1.0: Success, Hints: 118
anchordockstorage.pas(355,3) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(744,21) Hint: Function result variable of a managed type does not seem to be initialized
anchordockstorage.pas(766,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(767,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(768,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(769,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(773,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(775,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(777,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(779,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(781,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
anchordockstorage.pas(782,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
fgl.pp(1568,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1568,1) Hint: Inlining disabled
fgl.pp(1578,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1578,1) Hint: Inlining disabled
fgl.pp(1573,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1573,1) Hint: Inlining disabled
fgl.pp(1637,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1637,1) Hint: Inlining disabled
fgl.pp(1647,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1647,1) Hint: Inlining disabled
fgl.pp(1642,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1642,1) Hint: Inlining disabled
fgl.pp(1657,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1657,1) Hint: Inlining disabled
fgl.pp(1652,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1652,1) Hint: Inlining disabled
fgl.pp(1662,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1662,1) Hint: Inlining disabled
fgl.pp(1674,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1674,1) Hint: Inlining disabled
fgl.pp(1668,8) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.IndexOf(const AKey:AnsiString):LongInt;" marked as inline is not inlined
fgl.pp(1679,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1679,1) Hint: Inlining disabled
fgl.pp(1684,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1684,1) Hint: Inlining disabled
fgl.pp(1568,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1568,1) Hint: Inlining disabled
fgl.pp(1578,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1578,1) Hint: Inlining disabled
fgl.pp(1573,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1573,1) Hint: Inlining disabled
fgl.pp(1637,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1637,1) Hint: Inlining disabled
fgl.pp(1647,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1647,1) Hint: Inlining disabled
fgl.pp(1642,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1642,1) Hint: Inlining disabled
fgl.pp(1657,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1657,1) Hint: Inlining disabled
fgl.pp(1652,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1652,1) Hint: Inlining disabled
fgl.pp(1662,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1662,1) Hint: Inlining disabled
fgl.pp(1674,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1674,1) Hint: Inlining disabled
fgl.pp(1668,8) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.IndexOf(const AKey:Pointer):LongInt;" marked as inline is not inlined
fgl.pp(1679,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1679,1) Hint: Inlining disabled
fgl.pp(1684,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1684,1) Hint: Inlining disabled
fgl.pp(930,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(930,1) Hint: Inlining disabled
fgl.pp(945,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(945,1) Hint: Inlining disabled
fgl.pp(1005,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1005,1) Hint: Inlining disabled
fgl.pp(1010,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(1010,1) Hint: Inlining disabled
fgl.pp(963,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(963,1) Hint: Inlining disabled
fgl.pp(968,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(968,1) Hint: Inlining disabled
fgl.pp(950,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(950,1) Hint: Inlining disabled
fgl.pp(955,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(955,1) Hint: Inlining disabled
fgl.pp(997,1) Hint: "inherited" not yet supported inside inline procedure/function
fgl.pp(997,1) Hint: Inlining disabled
fgl.pp(1023,7) Note: Call to subroutine "function TFPGList<AnchorDocking.TStyleOfForm>.Add(const Item:TStyleOfForm):LongInt;" marked as inline is not inlined
fgl.pp(1023,20) Note: Call to subroutine "function TFPGList<AnchorDocking.TStyleOfForm>.Get(Index:LongInt):<record type>;" marked as inline is not inlined
anchordocking.pas(1142,20) Hint: Local variable "Checked" of a managed type does not seem to be initialized
anchordocking.pas(1334,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1341,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1348,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1355,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1362,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1369,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1376,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1383,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1396,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1404,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1411,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1418,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1425,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1432,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1439,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1446,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1453,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1460,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1467,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1474,3) Note: Call to subroutine "procedure TAnchorDockSettings.IncreaseChangeStamp;" marked as inline is not inlined
anchordocking.pas(1648,3) Note: Call to subroutine "function TFPGList<AnchorDocking.TStyleOfForm>.Add(const Item:TStyleOfForm):LongInt;" marked as inline is not inlined
anchordocking.pas(1656,15) Note: Call to subroutine "function TFPGList<AnchorDocking.TStyleOfForm>.Get(Index:LongInt):<record type>;" marked as inline is not inlined
anchordocking.pas(2768,42) Note: Call to subroutine "function TFPGList<AnchorDocking.TStyleOfForm>.Get(Index:LongInt):<record type>;" marked as inline is not inlined
anchordocking.pas(2843,3) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.TryGetData(const AKey:AnsiString;out AData:TADHeaderStyle):Boolean;" marked as inline is not inlined
anchordocking.pas(2984,3) Note: Call to subroutine "procedure TAnchorDockMaster.IncreaseOptionsChangeStamp;" marked as inline is not inlined
anchordocking.pas(3083,3) Note: Call to subroutine "procedure TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.AddOrSetData(const AKey:AnsiString;const AData:TADHeaderStyle);" marked as inline is not inlined
anchordocking.pas(3214,32) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.IndexOf(const AKey:Pointer):LongInt;" marked as inline is not inlined
anchordocking.pas(3220,52) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.GetKeyData(const AKey:Pointer):^untyped;" marked as inline is not inlined
anchordocking.pas(3468,29) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.IndexOf(const AKey:Pointer):LongInt;" marked as inline is not inlined
anchordocking.pas(3469,58) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.GetKeyData(const AKey:Pointer):^untyped;" marked as inline is not inlined
anchordocking.pas(5923,7) Note: Call to subroutine "function TFPGMap<System.Pointer,System.Pointer>.Add(const AKey:Pointer;const AData:Pointer):LongInt;" marked as inline is not inlined
anchordockoptionsdlg.pas(156,17) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.GetData(Index:LongInt):<record type>;" marked as inline is not inlined
anchordockoptionsdlg.pas(357,104) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.GetData(Index:LongInt):<record type>;" marked as inline is not inlined
anchordockoptionsdlg.pas(425,71) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.GetData(Index:LongInt):<record type>;" marked as inline is not inlined
anchordockoptionsdlg.pas(426,67) Note: Call to subroutine "function TFPGMap<System.AnsiString,AnchorDocking.TADHeaderStyle>.GetData(Index:LongInt):<record type>;" marked as inline is not inlined
Compile package AnchorDockingDsgn 1.0: Success, Hints: 2
registeranchordocking.pas(180,5) Note: Call to subroutine "procedure TIDEAnchorDockMaster.IncreaseChangeStamp;" marked as inline is not inlined
registeranchordocking.pas(488,5) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
Build IDE: Exit code 2, Errors: 1, Warnings: 2
Warning: svn not in path.
Warning: Recompiling FpDbgHardcodedFreepascalInfo, checksum changed for C:\Users\User\Downloads\generics.collections-master\generics.collections-master\lib\x86_64-win64\generics.collections.ppu
fpdbghardcodedfreepascalinfo.pas(81,12) Fatal: Can't find unit FpDbgHardcodedFreepascalInfo used by fpdebug

« Last Edit: January 29, 2022, 09:19:07 pm by oghz »

wp

  • Hero Member
  • *****
  • Posts: 9592
Re: Installing AnchorDockingDsgn Failed with Error
« Reply #1 on: January 29, 2022, 12:31:28 pm »
When installation of a package fails the first step is to perform a *clearn* rebuild of the IDE: "Tools" > "Configure 'Build Lazarus'" > Check "Clean All" and "Switch after building to automatically" > "Build".
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

oghz

  • New member
  • *
  • Posts: 9
Re: Installing AnchorDockingDsgn Failed with Error
« Reply #2 on: January 29, 2022, 03:57:37 pm »
I tried this and rebuilding the IDE gave its own error, how do i get the file online and place in the expected directory for rebuild

Is this because I am using Win 10 64bit Edition?

The screenshot below shows the rebuild dialog settings before clicking Build


wp

  • Hero Member
  • *****
  • Posts: 9592
Re: Installing AnchorDockingDsgn Failed with Error
« Reply #3 on: January 29, 2022, 05:01:56 pm »
The screenshot looks correct (with profile "Clean up + Build all" there's no need to check "Clean all" in the "Clean up" box, btw).

What do you mean with "how do i get the file online and place in the expected directory for rebuild"?

I tried to install AnchorDocking and AnchorDockingDesign on my Laz 2.2/FPC 3.2.2/64 bit on Win-11, and it completes without issues.

I wonder why, according to the error message, you have a file in C:\Users\User\Downloads\generics.collections-master\generics.collections-master. I have the feeling that something is not set up correctly. Finding this can be difficult. But since installation on Windows is easy I'd recommend to simply install Laz 2.2 again. Now as a secondary installation which leaves your first installation alone. In one of the first pages of the installer check the box "Secondary installation" and, I think, on the next page specify a folder into which Lazarus writes your user settings. Do not reuse an existing settings directory because this will mix installations. At the end of the setup you are asked if you want to associate file types with Windows - say no (you'll have to open files from inside Lazarus rather than from the explorer). After the installation you must set up the user interface again (editor settings, colors, etc). First install AnchorDocking/AnchorDockingDesign - it must work. Then install the packages used by you, one by one, so that you can find out which package(s) interferes with Anchordocking.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 7885
  • Debugger - SynEdit - and more
    • wiki
Re: Installing AnchorDockingDsgn Failed with Error
« Reply #4 on: January 29, 2022, 08:13:48 pm »
From code review (not verified / please double check any of the below info....)

"generics.collections," is now included in fpc.  However you have a downloaded version (which likely don't even match the included). And that download is in the path when compiling. (potentially it is only in the path for certain parts of the compilation  / what ever you may have set up in the past).

The file "fpdbghardcodedfreepascalinfo" is not the problem. It exists and it correctly compiled.
Later,  when you compile other code, that depends on this file, the compiler is only given the ppu, but will not have access to the source. This is the correct way how packages are compiled.

And the rest really is just my best guess....
- "fpdbghardcodedfreepascalinfo" is compiled against the "generics.collections,"  in FPC
- When you compile the code for the IDE (which does use the above unit) the downloaded "generics.collections,"  is in path
(or vice versa).

So "generics.collections,"  has changed. And that is your problem.

oghz

  • New member
  • *
  • Posts: 9
Re: Installing AnchorDockingDsgn Failed with Error [Resolved]
« Reply #5 on: January 29, 2022, 09:18:40 pm »
Thanks, @Martin_fr and @WP for your help.

This is what I tried

Initially, I uninstalled it completely and installed it in the same folder c:\lazarus, which didn't fix the issue,

After reading your suggestions, I left the current one and installed another in c:\lazarus 2\, i immediately installed AnchorDocking,  AnchorDockingDesign and DockedFormEditor respectively.

Its fine now

 

TinyPortal © 2005-2018