Forum > Linux
[SOLVED] Cannot find laz_avl_Tree used by SymbolListHandler
Pep:
I am struggling like hell trying to install fpc and lazarus on my system, the whole experience is making me feel like a linux noob, I honestly feel like I've gone back in time to a time when we used to install slackware from a stack of 3 inch floppies.
I have finally managed to install and compile fpc from a git download in my home directory, and finally managed to install and compile lazarus from a git download in my home directory. But every time I try to move forward I get slapped backwards. Both fpc and lazarus were downloaded from the main trunk.
So now my issue is that I can build a project all the way until I get this error message
--- 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";}};} ---symbollisthandler.pas(13,43) Error: Cannot find laz_avl_Tree used by SymbolListHandler of the Project Inspector.
I have opened the loaded package Lazutils and recompiled it with no errors.
The package has AvgLvlTree listed but not laz_avl_Tree.
After compiling the package I still get the same error.
The ide has highlighted this section in the project as an error
--- 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";}};} ---{$ifdef windows}uses windows, Classes, SysUtils, AvgLvlTree, laz_avl_Tree, math, fgl, cvconst, syncobjs, symbolhandlerstructs, DOM;{$endif}With laz_avl_Tree highlighted.
Any ideas where I go next to solve this?
cdbc:
Hi
Have you tried: in Lazarus -> menu -> Project -> Project Inspector
... to add a requirement-package?!?
I think this is where your added laz-dependencies are housed...
edit: you've probably tried that. Sorry
Regards Benny
Pep:
I've just found the problem checking the git history.
It seems laz_avl_Tree was removed from Lazutils in the latest version of lazarus and the project I'm compiling is not up to date with lazarus.
But now I'm getting casting problems so it looks like maybe that has changed too somewhere along the way. I'm seriously regretting trying to sort this project out, I could probably do without it but my stubbornness is preventing that ::)
cdbc:
Hi
What are your problems and which typecasting errors?!?
Maybe we can help ;)
(?) can't you just use the normal (without laz in front) AvgLvlTree...
Regards Benny
Pep:
Oh I solved the typecast error using my years of coding experience with multiple languages 8) but thanks for the offer.
I'm getting into other errors now but will move to a general lazarus language forum as they are not linux specific.
Navigation
[0] Message Index
[#] Next page