-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
-
I installed Lazarus 4.4 on windows: D:\lazarus
-
add system env: LAZARUSDIR=D:\lazarus
-
config in my vscode:
"fpctoolkit.lazarus.preferLazbuild": true,
"fpctoolkit.lazarus.enabled": true,
"fpctoolkit.env.PP": "D:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe",
"fpctoolkit.env.FPCDIR": "D:\lazarus\fpc\3.2.2\source",
"fpctoolkit.env.LAZARUSDIR": "D:\lazarus",
"fpctoolkit.format.enabled": true,
"fpctoolkit.mcp.enabled": true,
"fpctoolkit.lsp.initializationOptions.checkSyntax": true,
"fpctoolkit.lsp.initializationOptions.publishDiagnostics": true, -
terminal in vscode:
which lazbuild
/d/lazarus/lazbuild -
on window FPC PROJECTS, build project:
D:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe DmsClient.lpr -Twin32 -Px86_64 -oDmsClient -FuD:\lazarus\components* -FuC:\Users\Wondfo\AppData\Local\lazarus\onlinepackagemanager\packages* -Fubiz -Fupkgs\rpcclient -Fuforms -Fupkgs\xlog -Fupkgs\config -FUlib/x86_64-win32 -O3 -CX -XX -Filib/x86_64-win32 -dLCL -dLCLWin -vq
Error: Illegal parameter: -Twin32
Error: D:\lazarus\fpc\3.2.2\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Exited with code 1.
Build complete.
- First, it not use lazbuild.
Second, it use fpc.exe with error param: -Twin32.
How to fix it ? thanks.