Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-05

make useride is dumping some source code to the console (but then succeeds to build the IDE)

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bernd

Very strange:

bernd at t40:~/lazsvn/lazarus/trunk\ $ make useride
./lazbuild --lazarusdir=. --build-ide=
primary config path: /home/bernd/.lazarus
TPkgManager.OnGetBuildMacroValues Error: Error: (3,17) operator
expected but ( found
// LCLWidgetType
if undefined(LCLWidgetType) then begin
  if GetIDEValue('OS')=TargetOS then begin
    // use the same widgettype as the IDE
    LCLWidgetType := GetIDEValue('LCLWidgetType');
    if LCLWidgetType='nogui' then
      LCLWidgetType:='';
  end;
  if LCLWidgetType='' then begin
    if (TargetOS='win32') or (TargetOS='win64') then
      LCLWidgetType := 'win32'
    else if TargetOS='wince' then
      LCLWidgetType := 'wince'
    else if TargetOS='darwin' then
      LCLWidgetType := 'carbon'
    else
      LCLWidgetType:='gtk2';
  end;
end;

[...]

and thousand more lines follow.

Then it continues to build everything, including the IDE. Did I mess up something? I cannot find anything suspicious in the "build lazarus" settings and also nothing in the lazarus project file. What can be the cause of this?

Reply by email

waldo kitty
to Bernd
Bernd wrote
Found it: My lazbuild was too old. I was too lazy to rebuild it after every svn up.

i wouldn't call it "lazy" but maybe a lack of attention ;) i made it a point to bring stuff like this up with the recent lazbuild work that was done ;)

FWIW: here's my current base build flow ;)

make clean
svn up
make lazbuild lcl ideintf basecomponents starter
lazbuild.exe --build-ide= --build-mode="debug ide"

Reply by email