Recent

Author Topic: Problem when installing components on the latest lazarus trunk  (Read 2583 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Problem when installing components on the latest lazarus trunk
« on: January 19, 2019, 09:34:37 pm »
Hi all.

I use lazarus trunk r60103 and fpc trunk r40898. I found that I can't install some components in these revisions. For example, I get such errors:

for RichMemo
Code: Pascal  [Select][+][-]
  1. win32richmemoole.pas(60,23) Error: No matching implementation for interface method "SetData(const tagFORMATETC;var TagSTGMEDIUM;LongBool):LongInt; StdCall;" found

for HashLib
Code: Pascal  [Select][+][-]
  1. HlpAdler32.pas(16,14) Error: No matching implementation for interface method "GetBlockSize:LongInt;" found

for BGRABitmap
Code: Pascal  [Select][+][-]
  1. bgratextbidi.pas(229,67) Error: Only static methods and static variables can be referenced through an object type

But these components are well installed, for example, for lazarus r59890
and fpc r40550.

It's a bug?
Has anyone tried to install components on new versions of Lazarus/fpc?

Mailing list's thread here: http://lists.lazarus-ide.org/pipermail/lazarus/2019-January/235822.html
« Last Edit: January 22, 2019, 12:49:52 pm by zoltanleo »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Problem when installing components on the latest lazarus trunk
« Reply #1 on: January 19, 2019, 10:03:41 pm »
Some interface definition in FPC are changed, this make the impact in Lazarus components.Virtual Treeview and other have also fixed this.
« Last Edit: January 19, 2019, 10:05:28 pm by af0815 »
regards
Andreas

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Problem when installing components on the latest lazarus trunk
« Reply #2 on: January 19, 2019, 11:03:11 pm »
I am going to take a wild guess and say that maybe case sensitivity is now being checked?

at least for the first two.

as the third, not sure there, maybe some hack that is no longer allowed by the control.
The only true wisdom is knowing you know nothing

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Re: Problem when installing components on the latest lazarus trunk
« Reply #3 on: January 20, 2019, 10:40:32 pm »
I find it strange that no one has reported this problem so far. I expected someone from the developers to answer my question and try to solve the problem. Probably, I will have to be patient and for now stay on previous versions of IDE.
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Xor-el

  • Sr. Member
  • ****
  • Posts: 404
Re: Problem when installing components on the latest lazarus trunk
« Reply #4 on: January 20, 2019, 10:54:49 pm »

for HashLib
Code: Pascal  [Select][+][-]
  1. HlpAdler32.pas(16,14) Error: No matching implementation for interface method "GetBlockSize:LongInt;" found


Hi, someone has reported this issue to me for HashLib https://github.com/Xor-el/HashLib4Pascal/issues/7 and I feel it is related to this change http://wiki.freepascal.org/User_Changes_Trunk#Visibility_of_methods_implementing_interface_methods but unfortunately, am having issues installing trunk via FPCDeluxe.
Once am able to install trunk, I will push an update to fix this issue for HashLib4Pascal.
« Last Edit: January 20, 2019, 11:09:30 pm by Xor-el »

Xor-el

  • Sr. Member
  • ****
  • Posts: 404
Re: Problem when installing components on the latest lazarus trunk
« Reply #5 on: January 21, 2019, 01:37:59 pm »

for HashLib
Code: Pascal  [Select][+][-]
  1. HlpAdler32.pas(16,14) Error: No matching implementation for interface method "GetBlockSize:LongInt;" found


Hi, someone has reported this issue to me for HashLib https://github.com/Xor-el/HashLib4Pascal/issues/7 and I feel it is related to this change http://wiki.freepascal.org/User_Changes_Trunk#Visibility_of_methods_implementing_interface_methods but unfortunately, am having issues installing trunk via FPCDeluxe.
Once am able to install trunk, I will push an update to fix this issue for HashLib4Pascal.


This has been fixed via this commit  https://github.com/Xor-el/HashLib4Pascal/commit/94afe188438ff2a69e942292f7270e950be61b7b
It has been updated in OPM too.
« Last Edit: January 21, 2019, 02:56:15 pm by Xor-el »

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Re: Problem when installing components on the latest lazarus trunk
« Reply #6 on: January 21, 2019, 10:07:11 pm »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018