After successful compilation, .exe file is not generated lazarus / 21-General ---------------------------------------------------------------------- saikrishna · 2022-12-19 21:52 We are using Lazarus IDE and we are able to build and compile the program successfully. We haven't noticed any compilation errors but the .exe file is not generated.  Our expectation is, .exe file should get generated after successful compilation of the program.  We don't have admin rights on the machine where we are compiling the program, I am not sure if this could be reason but do let me know the resolution for this issue. ---------------------------------------------------------------------- Martin_fr · 2022-12-19 22:07 Please do not cross/repeat post the same message. Such behaviour will get you banned. ---------------------------------------------------------------------- KodeZwerg · 2022-12-19 22:40 When you use the Lazarus IDE, you will see informations in the Message Window. From your own program you can do the following: 1: open you project in Lazarus IDE and go to your mainform unit, open now with F12 the FormDesigner 2: select your mainform in Object Inspector or doubleclick in designer on a empty place 2a: if you not doubleclick but have selected in Object Inspector the Forms name, click on Events-Tab and doubleclick at "OnCreate" to create an Event for it 3. inside of Codeeditor you are now in the FormCreate Event (new generated or existing one) 4. between "begin" and "end;" type this without quotes " ShowMessage(ParamStr(0)); " 5. compile and run your app, now you will see a messagebox that tells you the location to your generated binary Good luck and welcome to the world of FreePascal ---------------------------------------------------------------------- KodeZwerg · 2022-12-19 22:51 Above if it is a GUI (TForm/LCL) project, if it is a Console appiclation you need to do this 1: open project in Lazarus IDE and active in code editor the main file (.lpr most often) 2. insert between "begin" and "end." (i suggest to do it right after "begin") this line without quotes     " WriteLn(ParamStr(0)); ReadLn; " 3. compile and run your app, now it show you on consele the location and wait for "return"-keypress I hope everything is understandable ---------------------------------------------------------------------- Josh · 2022-12-19 23:37 Be aware, that an aggressive anti Virus config, could easily delete the exe, before you get a chance to see it.