FPC 3.2.2 + Lazarus 3.4 Components fail to build on Console lazarus / 21-General ---------------------------------------------------------------------- paule32 · 2025-04-23 11:27 Hello, I would like compile a TForm based Application under the Windows Console, but I fail. I use the following command(s): Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i fpc ^    -FiC:\lazarus\lcl\include ^    ^    -FuC:\lazarus\lcl ^    -FuC:\lazarus\lcl\interfaces ^    -FuC:\lazarus\lcl\interfaces\gtk3 ^    -FuC:\lazarus\lcl\units\x86_64-win64 ^    -FuC:\lazarus\lcl\units\x86_64-win64\win32 ^    -FiC:\lazarus\components ^    -Fu. -vewnhi test.pas  and get the following Message: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Hint: Start of reading config file C:\fpcupdeluxe\fpc\bin\x86_64-win64\fpc.cfgHint: End of reading config file C:\fpcupdeluxe\fpc\bin\x86_64-win64\fpc.cfgFree Pascal Compiler version 3.2.2-r0d122c49 [2024/11/15] for x86_64Copyright (c) 1993-2021 by Florian Klaempfl and othersTarget OS: Win64 for x64Compiling test.pasCompiling C:\lazarus\lcl\interfaces\gtk3\interfaces.ppCompiling C:\lazarus\lcl\interfacebase.ppCompiling C:\lazarus\lcl\lclproc.paslclproc.pas(29,35) Fatal: Can't find unit Laz_AVL_Tree used by LCLProcFatal: Compilation aborted Error: C:\fpcupdeluxe\fpc\bin\x86_64-win64\ppcx64.exereturned an error exitcode ---------------------------------------------------------------------- marcov · 2025-04-23 12:31 Yes this is normal. The LCL depends on (among others) lazutils, and that is not in your search path. ---------------------------------------------------------------------- Martin_fr · 2025-04-23 13:32 use lazbuild.exe and it will call the compiler for you with the correct arguments ---------------------------------------------------------------------- paule32 · 2025-04-23 21:18 Thank you for your replies. To clearify the requested issue, I post the MS-Console Batch File there in the hope it will be usefull: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i fpc ^    -FiC:\lazarus\lcl\include ^    -FuC:\lazarus\lcl ^    -FuC:\lazarus\lcl\widgetset ^    -FuC:\lazarus\lcl\forms ^    -FuC:\lazarus\lcl\units\x86_64-win64 ^    -FuC:\lazarus\lcl\interfaces\win32 ^    -FuC:\lazarus\components\lazutils ^    ^    -Fu. -vewnhi test.pas