Error: Illegal parameter: MyApp.lpr lazarus / 21-General ---------------------------------------------------------------------- daniel_sap · 2025-04-21 04:23 Hi I'm trying to compile application on Ubuntu 22.04.5 LTS with Free Pascal Compiler version 3.2.2+dfsg-9ubuntu1 [2022/04/11] for x86_64 I used 'sudo apt install fpc' to install the FPC on the machine I cloned my project from git to ~/projects/my-project folder and trying to compile it with the following command Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i fpc @build/ubuntu/fpc.cfg  And got this error [0.002] Error: Illegal parameter: MyApp.lpr and this is the logged output Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i me@vmi:~/projects/my-app/Source$ fpc @build/ubuntu/fpc.cfg[0.002] interpreting file option "# Debug info (uncomment if needed)"[0.002] interpreting file option "# -g"[0.002] interpreting file option "# Output binary name"[0.002] Handling option "-oMyApp"[0.002] interpreting option "-oMyApp"[0.002] interpreting file option "# Main program file"[0.002] Error: Illegal parameter: MyApp.lpr[0.002] Hint: End of reading config file build/ubuntu/fpc.cfgError: /usr/bin/ppcx64 returned an error exitcode  Do you have any idea what could cause the error ---------------------------------------------------------------------- TRon · 2025-04-21 04:33 Quote from: daniel_sap on April 21, 2025, 06:23:38 amDo you have any idea what could cause the error The program name is not a valid option, as indicated by the error message. afaik, the name of the program to compile can only be supplied by feeding it to the compiler on the command-line. ---------------------------------------------------------------------- daniel_sap · 2025-04-21 04:45 Quote from: TRon on April 21, 2025, 06:33:26 amQuote from: daniel_sap on April 21, 2025, 06:23:38 amDo you have any idea what could cause the error The program name is not a valid option, as indicated by the error message. afaik, the name of the program to compile can only be supplied by feeding it to the compiler on the command-line. Thank you Tron Compiles successfully now