[Lazarus] Weird behavior of IDE (no executable produced)

Valdas Jankūnas zmuogs at gmail.com
Sat Feb 21 17:45:39 CET 2015


2015.02.21 18:18, Mattias Gaertner rašė:
>> - open project's .lpi file in editor and swap content of <Unit0> and
>> <Unit1> sections ->  <Filename Value="project1.lpr"/> goes in to <Unit1>;
>
> Then you have to change
> General/MainUnit/Value to 1
>
>> - compile project (ctrl + F9) -> message "Compile Project, Target:
>> project1: Tvarka" (done) appears;
>> -  now try find produced executable - there is none.
>
> No, because the compiler compiled unit0.
>
>
>>    Should I report a bug that order of units in <Units> section of .lpi
>> file matters?
>
> No.
> The only documentation about the lpi file format is the IDE source
> itself. The MainUnit value exists since the beginning.

Thanks for info.

When similar "bug" happens then I will know where to look for the Cure :)

-- 
   Valdas Jankūnas




More information about the Lazarus mailing list