On Fri, 29 Oct 2021 10:07:58 +0700 Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
> Sorry I didn't look up high enough in the output to see this before. > It looks like lazbuild can't find the correct version of the compiler > that is packaged. I can confirm that path exists but I think the > variable $Lazarusdir may be wrong. Lazarus uses macros of the form $(LazarusDir) . Did you check the fpc path in Lazarus? Tools / Options / Environment > What could be wrong here? I got Lazarus via an installer so I don't > know how else to set it up. Maybe it uses some old config? lazbuild --verbose pasls.lpi Mattias > PS C:\Users\Ryan Joseph\Desktop\Developer\pascal-language-server> > C:\lazarus\lazbuild.exe pasls.lpi SetupCompilerFilename: The compiler > path "$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe" => > "C:\lazarus\$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe" is invalid > (Error: file not found) Searching a proper one ... > SearchCompilerCandidates > Value=$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe > File=C:\lazarus\$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe > SearchCompilerCandidates > Value=$Lazarusdir\fpc\3.2.0\bin\i386-win32\\fpc.exe > File=C:\lazarus\$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe > SearchCompilerCandidates > Value=$Lazarusdir\fpc\3.2.0\bin\i386-win32\\fpc.exe > File=C:\lazarus\$Lazarusdir\fpc\3.2.0\bin\i386-win32\fpc.exe > SearchCompilerCandidates Value=fpc.exe > File=C:\FPC\3.2.2\bin\i386-Win32\fpc.exe > > > On Oct 29, 2021, at 9:46 AM, Ryan Joseph <generic...@gmail.com> > > wrote: > > > > I think I may have downloaded the 32 bit version of the compiler > > and then the 64 bit Lazarus! That would make sense it would fail > > then. Let me try downloading the correct version and I'll report > > back. > > Regards, > Ryan Joseph > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal