genericptr / pascal-language-server

LSP server implementation for Pascal
GNU General Public License v3.0
53 stars 15 forks source link

compile error #81

Open ghost opened 1 year ago

ghost commented 1 year ago

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?

Darkskald commented 1 year ago

I am facing exactly the same issue.

stalecu commented 1 year ago

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

AugustoDeveloper commented 9 months ago

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 commented 9 months ago

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