Sign in Join

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

Mailing lists / lazarus / 2010-11

Can't build IDE with Lazbuild

13 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

shoKwave

Hi all,

"lazbuild -b --build-ide=" throws this exception since r28046.

An unhandled exception occurred at $000000000074DF28 : Exception : SetExtraOptions should not be called.
$000000000074DF28 line 543 of buildprofilemanager.pas $00000000005AAD69 line 407 of lazbuild.lpr
$00000000005AE03C line 1047 of lazbuild.lpr
$00000000005AFF36 line 1273 of lazbuild.lpr

My system is Ubuntu 10.10 x64 with fpc 2.5.1 r16300. I always do a "make clean all" before running lazbuild.

svn log shows:

r28046 | juha | 2010-11-02 23:30:03 +0100 (Di, 02. Nov 2010) | 1 Zeile

Build Lazarus: allow define defines :)

regards
Ingo

Reply by email

Juha Manninen
to shoKwave
shoKwave wrote 18 lines
"lazbuild -b --build-ide=" throws this exception since r28046. An unhandled exception occurred at $000000000074DF28 : Exception : SetExtraOptions should not be called. $000000000074DF28 line 543 of buildprofilemanager.pas $00000000005AAD69 line 407 of lazbuild.lpr $00000000005AE03C line 1047 of lazbuild.lpr $00000000005AFF36 line 1273 of lazbuild.lpr My system is Ubuntu 10.10 x64 with fpc 2.5.1 r16300. I always do a "make clean all" before running lazbuild. svn log shows: r28046 | juha | 2010-11-02 23:30:03 +0100 (Di, 02. Nov 2010) | 1 Zeile Build Lazarus: allow define defines :)

Yes, sorry.
Fixed now in trunk.

Juha

Reply by email

Marcos Douglas
to shoKwave: "lazbuild -b --build-ide=" throws this exception since r28046. An unhandled exception…
shoKwave wrote 20 lines
Hi all, "lazbuild -b --build-ide=" throws this exception since r28046. An unhandled exception occurred at $000000000074DF28 : Exception : SetExtraOptions should not be called. ?$000000000074DF28 line 543 of buildprofilemanager.pas ?$00000000005AAD69 line 407 of lazbuild.lpr ?$00000000005AE03C line 1047 of lazbuild.lpr ?$00000000005AFF36 line 1273 of lazbuild.lpr My system is Ubuntu 10.10 x64 with fpc 2.5.1 r16300. I always do a "make clean all" before running lazbuild. svn log shows: r28046 | juha | 2010-11-02 23:30:03 +0100 (Di, 02. Nov 2010) | 1 Zeile Build Lazarus: allow define defines :)

What is the difference to use lazbuild instead of IDE>Build?

Marcos Douglas

Reply by email

Andreas Schneider
to Marcos Douglas
Marcos Douglas wrote
What is the difference to use lazbuild instead of IDE>Build? Marcos Douglas

You don't have to run the IDE, that's the main advantage. This in turn is great for automation.

Best Regards,
Andreas.

Reply by email

Michael Van Canneyt
to Marcos Douglas: What is the difference to use lazbuild instead of IDE>Build? Marcos Douglas
Marcos Douglas wrote 23 lines
On Wed, Nov 3, 2010 at 3:51 PM, shoKwave wrote: > Hi all, > > "lazbuild -b --build-ide=" throws this exception since r28046. > > An unhandled exception occurred at $000000000074DF28 : > Exception : SetExtraOptions should not be called. > ?$000000000074DF28 line 543 of buildprofilemanager.pas > ?$00000000005AAD69 line 407 of lazbuild.lpr > ?$00000000005AE03C line 1047 of lazbuild.lpr > ?$00000000005AFF36 line 1273 of lazbuild.lpr > > > My system is Ubuntu 10.10 x64 with fpc 2.5.1 r16300. I always do a "make > clean all" before running lazbuild. > > svn log shows: > > r28046 | juha | 2010-11-02 23:30:03 +0100 (Di, 02. Nov 2010) | 1 Zeile > > Build Lazarus: allow define defines :) What is the difference to use lazbuild instead of IDE>Build?

Normally it is the same, except that lazbuild is a command-line tool.

Michael.

Reply by email

Marcos Douglas
to Andreas Schneider: On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas You don't have to run the IDE, that's…
Andreas Schneider wrote 9 lines
On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas wrote: > What is the difference to use lazbuild instead of IDE>Build? > > Marcos Douglas You don't have to run the IDE, that's the main advantage. This in turn is great for automation.

Right, so I need him.
I want to build Lazarus with FPC 2.5.1 (trunk) but compile my programs with FPC 2.4.3.
I can use lazbuild with pcp= param to set enviroments configurations to use. Is that correct?

Thanks,
Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 8 lines
2010/11/4 Michael Van Canneyt : > On Thu, 4 Nov 2010, Marcos Douglas wrote: >> >> What is the difference to use lazbuild instead of IDE>Build? > > Normally it is the same, except that lazbuild is a command-line tool. Ok and when is created lazbuild? When I compile the IDE?

no

make lazbuild

Mattias

Reply by email

shoKwave
to Mattias Gaertner
Mattias Gaertner wrote 20 lines
On Thu, 4 Nov 2010 12:13:08 -0300 Marcos Douglas wrote: > 2010/11/4 Michael Van Canneyt: >> On Thu, 4 Nov 2010, Marcos Douglas wrote: >>> What is the difference to use lazbuild instead of IDE>Build? >> Normally it is the same, except that lazbuild is a command-line tool. > Ok and when is created lazbuild? When I compile the IDE? no make lazbuild Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

or

make all (IIRC make lazbuild *can* fail after svn update)

Ingo

Reply by email

Marcos Douglas
to shoKwave
shoKwave wrote 30 lines
Am 04.11.2010 16:23, schrieb Mattias Gaertner: > > On Thu, 4 Nov 2010 12:13:08 -0300 > Marcos Douglas ?wrote: > >> 2010/11/4 Michael Van Canneyt: >>> >>> On Thu, 4 Nov 2010, Marcos Douglas wrote: >>>> >>>> What is the difference to use lazbuild instead of IDE>Build? >>> >>> Normally it is the same, except that lazbuild is a command-line tool. >> >> Ok and when is created lazbuild? When I compile the IDE? > > no > > make lazbuild > > Mattias > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > or make all ?(IIRC make lazbuild *can* fail after svn update)

Ah it is, I always did 'make all'.

Thanks,
Marcos Douglas

Reply by email

shoKwave
to Marcos Douglas: Right, so I need him. I want to build Lazarus with FPC 2.5.1 (trunk) but compile my…
Marcos Douglas wrote 23 lines
On Thu, Nov 4, 2010 at 9:12 AM, Andreas Schneider wrote: > On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas > wrote: >> What is the difference to use lazbuild instead of IDE>Build? >> >> Marcos Douglas > You don't have to run the IDE, that's the main advantage. This in turn > is great for automation. Right, so I need him. I want to build Lazarus with FPC 2.5.1 (trunk) but compile my programs with FPC 2.4.3. I can use lazbuild with pcp= param to set enviroments configurations to use. Is that correct? Thanks, Marcos Douglas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Yes,

you can also specify the compiler with --compiler=

See lazbuild -h or manpage for all params.

Ingo

Reply by email

Marcos Douglas
to shoKwave
shoKwave wrote 34 lines
Am 04.11.2010 16:11, schrieb Marcos Douglas: > > On Thu, Nov 4, 2010 at 9:12 AM, Andreas Schneider ?wrote: >> >> On Thu, 4 Nov 2010 08:41:06 -0300, Marcos Douglas >> wrote: >>> >>> What is the difference to use lazbuild instead of IDE>Build? >>> >>> Marcos Douglas >> >> You don't have to run the IDE, that's the main advantage. This in turn >> is great for automation. > > Right, so I need him. > I want to build Lazarus with FPC 2.5.1 (trunk) but compile my programs > with FPC 2.4.3. > I can use lazbuild with pcp= param to set enviroments configurations > to use. Is that correct? > > Thanks, > Marcos Douglas > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > Yes, you can also specify the compiler with --compiler= See lazbuild -h or manpage for all params.

Very nice.
Thanks,

Marcos Douglas

Reply by email