In another post, an Mac Arm user needs help to debug lazarus RC2 startup.
Just the normal log does not show anything interesting so, I assume we need to run Lazarus RC2 under a debugger and fortunately 4.0RC1 is working OK
A long time since I did this, so, better I test it first.
But I am find I am unable to build 4.0RC2 in RC1 on my Linux laptop. The 4.0RC2 tree builds nicely with a
make clean bigide. Given the errors I see, I have to assume I am doing it wrong !
Because of the changes around IDEPackager, seems must be RC1 running RC2 ? So I build a clean 4.0RC1 and opened the lazarus.lpi in my 4.0RC2 source tree.
Things I noted -No compiler set in project, need to set
Project->ProjectOptions->CompilerOptions->CompilerNo boxes ticked, need to tick all three. Easy.
Missing Symbols (eg) - KeyAndShiftStateToEditorKeyString seems to have moved to components/ideintf/idecommands.pas so I added that path to -Fu
And a few more. All up I ended adding
./components/ideintf;packages/ideproject;packages/idedebugger;../components/lazcontrols
to the -Fu line.
But then, I get
treefilteredit.pas(469,3) Error: Identifier not found "fAlreadyFiltered"$> grep -niR "fAlreadyFiltered" *
...
lcl/editbtn.pas:244: fAlreadyFiltered: Boolean;
So, declared in editbtn.pas ? I need to add editbtn to the uses line ?? No, I am clearly on the wrong train. Help please !
Davo
Ref :
https://forum.lazarus.freepascal.org/index.php/topic,70214.0/topicseen.html