[Lazarus] LCL recompilation

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Feb 3 17:09:58 CET 2011


Mattias Gaertner schrieb:

>  > How can I find out the reason for the rebuild, in detail when different
>  > build options are involved?
> 
>  
> 
> Start the ide with --debug-log=log.txt
> 
> It logs the exact reason.

Okay, this cleared up the first bug/error. The active project was 
Lazarus.lpi of a different Lazarus version. Lazarus seems to import 
*also* the LCL from that other version, with fatal consequences. Should 
I create an bug report, because this project prevented the ToDo list to 
appear?

Here's the log:
[BTW: the log has some bad line endings on Windows]

SetPrimaryConfigPath 
NewValue="D:\repos\Lazarus-0.9.30rc\fixes_0_9_30\cfg" -> 
"D:\repos\Lazarus-0.9.30rc\fixes_0_9_30\cfg"
### TCodeToolManager.HandleException: "include file not found 
"lcl_defines.inc"" at Line=28 Col=5 in 
"D:\git2\lazarus\lcl\controls.pp"### TCodeToolManager.HandleException: 
""interface" expected, but  found" at Line=28 Col=4 in 
"D:\git2\lazarus\lcl\controls.pp"### TCodeToolManager.HandleException: 
"include file not found "lcl_defines.inc"" at Line=30 Col=5 in 
"D:\git2\lazarus\lcl\forms.pp"TMainIDE.DoOpenProjectFile 
IDETodoWindow:TIDETodoWindow 
TDesignerTCodeBrowserView.WorkGetScopeOptions 
STARTTCodeBrowserView.WorkGatherPackages RootOwner=" 
Project"TCodeBrowserView.WorkFreeUnusedPackages 
STARTTCodeBrowserView.WorkGatherFiles 
STARTTCodeBrowserView.WorkUpdateFiles 
ProjectTCodeBrowserView.WorkGatherFiles 
STARTTCodeBrowserView.WorkGetViewOptions UpdateNeeded=True 
ChangeStamp=TrueTCodeBrowserView.UpdateTreeView 
UnitFilter=TApplication.HandleException Access violation
   Stack trace:
   $00B24082  TIDETODOWINDOW__SETOWNERFILENAME,  line 325 of todolist.pas
   $00B2396F  VIEWTODOLIST,  line 140 of tododlg.pas
   $0074F1AA  TIDECOMMAND__EXECUTE,  line 875 of idecommands.pas
   $00808D5B  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1628 of menuintf.pas
   $0055BF6E  TMENUITEM__CLICK,  line 75 of ./include/menuitem.inc
   $0055C5A8  TMENUITEM__DOCLICKED,  line 269 of ./include/menuitem.inc
   $0040B826
   $0062BA7F  CUSTOMFORMWNDPROC,  line 357 of win32wsforms.pp
   $77736238
   $777368EA
   $77737D31
   $77737DFA
   $00572D68
   $00421FC9
   $0042240F
   $0047DD73
   $004223CA
LAZARUS END - cleaning up ...

DoDi





More information about the Lazarus mailing list