Sign in Join

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

Mailing lists / lazarus / 2003-10

Error when compiling CVS

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

spiri

Hi,
I trying to buil lazarus from the sources in CVS, but the compiler gives this error:

Compiling forms.pp
forms.pp(50,3) Fatal: Can't find unit CUSTAPP
make[1]: *** [allunits.ppu] Error 1
make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' make: *** [lcl] Error 2

Tanks

spiri

Reply by email

Mattias Gaertner
to spiri
Show quoted text 47 lines
Mattias Gaertner wrote: >On Tue, 21 Oct 2003 00:11:48 +0200 >Marc Weustink wrote: > > > >>At 12:48 19-10-2003, spiri wrote: >> >> >>>Hi, >>>I trying to buil lazarus from the sources in CVS, but the compiler >gives >>this error: >>> >>>Compiling forms.pp >>>forms.pp(50,3) Fatal: Can't find unit CUSTAPP >>>make[1]: *** [allunits.ppu] Error 1 >>>make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' >>>make: *** [lcl] Error 2 >>> >>> >>Today I hit the same error while I was accidently compiling Lazarus on >an >older Linux box with a version 1.0.7 compiler. >> >>The current version of TApplication is derived from TCustomApplication. >>TCustomApplication is defined in the FCL. So in your case you need a >newer> >>FCL (my 1.0.10 version has it). >> >>While I'm at this now, I think it doen't make sense anymore to control >>this by the UseCustApp define, since if you undefine it, you get errors >of>base members not found. >>Is there any reason to keep this define ? >> >> > >Not anymore. > >I left it, so if something went wrong, we could easily see the custapp >parts. It works with 1.0.10/11, so we could remove it. > > >Mattias > > > Have update the CVS files?

Yes. I removed the defines.
CustApp.pp appeared in 1.0.10.

Mattias

Reply by email

spiri
to spiri: I trying to buil lazarus from the sources in CVS, but the compiler gives this error:…

Mattias Gaertner wrote:
<blockquote type="cite"
cite="">
On Tue, 21 Oct 2003 00:11:48 +0200
Marc Weustink wrote:

At 12:48 19-10-2003, spiri wrote:

Hi,
I trying to buil lazarus from the sources in CVS, but the compiler gives this error:

Compiling forms.pp
forms.pp(50,3) Fatal: Can't find unit CUSTAPP
make[1]: *** [allunits.ppu] Error 1
make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' make: *** [lcl] Error 2

Today I hit the same error while I was accidently compiling Lazarus on an older Linux box with a version 1.0.7 compiler.

The current version of TApplication is derived from TCustomApplication. TCustomApplication is defined in the FCL. So in your case you need a newer

FCL (my 1.0.10 version has it).

While I'm at this now, I think it doen't make sense anymore to control this by the UseCustApp define, since if you undefine it, you get errors of base members not found.
Is there any reason to keep this define ?

Not anymore.

I left it, so if something went wrong, we could easily see the custapp parts. It works with 1.0.10/11, so we could remove it.

Mattias

Have update the CVS files?

Tanks

spiri Send by Mozilla Thunderbird running on Linux Mandrake 9.1

Reply by email

Marc Weustink
to spiri: I trying to buil lazarus from the sources in CVS, but the compiler gives this error:…
spiri wrote 9 lines
Hi, I trying to buil lazarus from the sources in CVS, but the compiler gives this error: Compiling forms.pp forms.pp(50,3) Fatal: Can't find unit CUSTAPP make[1]: *** [allunits.ppu] Error 1 make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' make: *** [lcl] Error 2

Today I hit the same error while I was accidently compiling Lazarus on an older Linux box with a version 1.0.7 compiler.

The current version of TApplication is derived from TCustomApplication. TCustomApplication is defined in the FCL. So in your case you need a newer FCL (my 1.0.10 version has it).

While I'm at this now, I think it doen't make sense anymore to control this by the UseCustApp define, since if you undefine it, you get errors of base members not found.
Is there any reason to keep this define ?

Marc

Reply by email

Mattias Gaertner
to spiri: I trying to buil lazarus from the sources in CVS, but the compiler gives this error:…
Show quoted text 23 lines
At 12:48 19-10-2003, spiri wrote: >Hi, >I trying to buil lazarus from the sources in CVS, but the compiler gives >this error: > >Compiling forms.pp >forms.pp(50,3) Fatal: Can't find unit CUSTAPP >make[1]: *** [allunits.ppu] Error 1 >make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' >make: *** [lcl] Error 2 Today I hit the same error while I was accidently compiling Lazarus on an older Linux box with a version 1.0.7 compiler. The current version of TApplication is derived from TCustomApplication. TCustomApplication is defined in the FCL. So in your case you need a newer FCL (my 1.0.10 version has it). While I'm at this now, I think it doen't make sense anymore to control this by the UseCustApp define, since if you undefine it, you get errors of base members not found. Is there any reason to keep this define ?

Not anymore.

I left it, so if something went wrong, we could easily see the custapp parts. It works with 1.0.10/11, so we could remove it.

Mattias

Reply by email

spiri
to spiri: I trying to buil lazarus from the sources in CVS, but the compiler gives this error:…

Andrew Johnson wrote:
<blockquote type="cite"
cite="">
On Tue, 2003-10-21 at 15:08, spiri wrote:

I'am sorry about the stupid question but I'am new to Lazarus/FPC: 1.0.10 is the version of Lazarus or FPC?

FPC.

Lazarus is still in the Beta 0.9 stage.

Andrew

Tanks Andrew,
I upgrade to FPC 1.0.10 and compile the IDE withou errors.<span class="moz-smiley-s5"> :-D
The IDE is great, much diferent from the 0.85 Alpha<span class="moz-smiley-s3"> ;-)

Tanks

spiri Send by Mozilla Thunderbird running on Linux Mandrake 9.1

Reply by email

spiri
to spiri: I trying to buil lazarus from the sources in CVS, but the compiler gives this error:…

Mattias Gaertner wrote:
<blockquote type="cite"
cite="">
On Tue, 21 Oct 2003 19:31:09 +0100
spiri wrote:

Mattias Gaertner wrote:

On Tue, 21 Oct 2003 00:11:48 +0200
Marc Weustink wrote:

At 12:48 19-10-2003, spiri wrote:

Hi,
I trying to buil lazarus from the sources in CVS, but the compiler

gives >>this error:

Compiling forms.pp
forms.pp(50,3) Fatal: Can't find unit CUSTAPP
make[1]: *** [allunits.ppu] Error 1
make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl' make: *** [lcl] Error 2

Today I hit the same error while I was accidently compiling Lazarus on

an >older Linux box with a version 1.0.7 compiler.

The current version of TApplication is derived from TCustomApplication. TCustomApplication is defined in the FCL. So in your case you need a

newer>

FCL (my 1.0.10 version has it).

While I'm at this now, I think it doen't make sense anymore to control this by the UseCustApp define, since if you undefine it, you get errors

of>base members not found.

Is there any reason to keep this define ?

Not anymore.

I left it, so if something went wrong, we could easily see the custapp parts. It works with 1.0.10/11, so we could remove it.

Mattias

Have update the CVS files?

Yes. I removed the defines.
CustApp.pp appeared in 1.0.10.

I'am sorry about the stupid question but I'am new to Lazarus/FPC: 1.0.10 is the version of Lazarus or FPC?

Tank you

spiri Send by Mozilla Thunderbird running on Linux Mandrake 9.1

Reply by email