Forum > General

Problem when installing components on the latest lazarus trunk

(1/2) > >>

zoltanleo:
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  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---win32richmemoole.pas(60,23) Error: No matching implementation for interface method "SetData(const tagFORMATETC;var TagSTGMEDIUM;LongBool):LongInt; StdCall;" found
for HashLib

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---HlpAdler32.pas(16,14) Error: No matching implementation for interface method "GetBlockSize:LongInt;" found
for BGRABitmap

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---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

af0815:
Some interface definition in FPC are changed, this make the impact in Lazarus components.Virtual Treeview and other have also fixed this.

jamie:
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.

zoltanleo:
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.

Xor-el:

--- Quote from: zoltanleo on January 19, 2019, 09:34:37 pm ---
for HashLib

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---HlpAdler32.pas(16,14) Error: No matching implementation for interface method "GetBlockSize:LongInt;" found

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version