pascal-language-server icon indicating copy to clipboard operation
pascal-language-server copied to clipboard

compile error

Open ghost opened this issue 2 years ago • 4 comments

hi, i really would like to try this lsp out in neovim, right now im trying to compile it, yet i get this error: image

I have followed the "Building" Section, so i got the source, compiled the jfc package, compiled lspprotocol

Im getting the error shown in the picture, complaining about "lspserver" being an unmet dependency.

what should i do now?

ghost avatar Aug 23 '23 06:08 ghost

I am facing exactly the same issue.

Darkskald avatar Oct 10 '23 21:10 Darkskald

I did a quick find in the directory and I found lspserver in src/serverprotocol. I compiled it and got this:

PasLS.General.pas(441,24) Error: identifier idents no member "SortMethodForCompletion"
PasLS.General.pas(441,49) Error: Identifier not found "icsScopedAlphabetic"

and this seems to be the same issue as #79:

You need the latest trunk version of Lazarus to compile this. They changed the interface of the codetools 😢

Maybe you tried compiling this with Lazarus 2.2.4 instead of trunk.

@Darkskald @ghost

ghost avatar Oct 24 '23 21:10 ghost

I did a quick find in the directory and I found lspserver in src/serverprotocol. I compiled it and got this:

PasLS.General.pas(441,24) Error: identifier idents no member "SortMethodForCompletion"
PasLS.General.pas(441,49) Error: Identifier not found "icsScopedAlphabetic"

and this seems to be the same issue as #79:

You need the latest trunk version of Lazarus to compile this. They changed the interface of the codetools 😢

Maybe you tried compiling this with Lazarus 2.2.4 instead of trunk.

@Darkskald @ghost

Hey guys, i am getting the same error and it seems it was caused by my lazarus ide\build version, that is 2.2.0+dfsg1-5ubuntu1.

What version should i use?

AugustoDeveloper avatar Jan 18 '24 23:01 AugustoDeveloper

I did a quick find in the directory and I found lspserver in src/serverprotocol. I compiled it and got this:

PasLS.General.pas(441,24) Error: identifier idents no member "SortMethodForCompletion"
PasLS.General.pas(441,49) Error: Identifier not found "icsScopedAlphabetic"

and this seems to be the same issue as #79:

You need the latest trunk version of Lazarus to compile this. They changed the interface of the codetools 😢

Maybe you tried compiling this with Lazarus 2.2.4 instead of trunk. @Darkskald @ghost

Hey guys, i am getting the same error and it seems it was caused by my lazarus ide\build version, that is 2.2.0+dfsg1-5ubuntu1.

What version should i use?

Ok, guys, i solved this problem. I just compiled the lazarus from gitlab on master branch and project compiles. Thanks

AugustoDeveloper avatar Jan 19 '24 01:01 AugustoDeveloper