Sign in Join

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

Mailing lists / lazarus / 2003-03

Building Lazarus under win32

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Catalin Mincu

I checkout sources for Lazarus today and I've got an error when I try to build them. It's on the Printer unit. Please help me .

----------------------------------------

C:\Projects\Lazarus\lazarus>make
make -C lcl all
make[1]: Entering directory
`C:/Projects/Lazarus/lazarus/lcl'
C:/pp/bin/win32/rm.exe -f units/allunits.ppw
C:/pp/bin/win32/ppc386.exe -gl -Fuinterfaces/abstract -Fu. -Fuc:/pp/units/win32/
rtl -Fuc:/pp/units/win32/paszlib
-Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/m
ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits -di386 allunits.pp
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling allunits.pp
Compiling printers.pas
Compiling postscriptprinter.pas
postscriptprinter.pas(325,40) Hint: Parameter APEN not used
postscriptprinter.pas(355,23) Error: Method (variable) and Procedure (variable)
are not compatible
postscriptprinter.pas(355,23) Error: Incompatible
types: got "<procedure variabl
e type of procedure(TPSPEN) of object;>" expected
"<procedure variable type of p
rocedure(TOBJECT) of object;>"
postscriptprinter.pas(497,26) Hint: use DIV instead to get an integer result
postscriptprinter.pas(548,37) Hint: use DIV instead to get an integer result
postscriptprinter.pas(548,71) Hint: use DIV instead to get an integer result
postscriptprinter.pas(815,28) Error: Method (variable) and Procedure (variable)
are not compatible
postscriptprinter.pas(815,28) Error: Incompatible
types: got "<procedure variabl
e type of procedure(TPSPATTERN) of object;>" expected "<procedure variable type
of procedure(TOBJECT) of object;>"
postscriptprinter.pas(1115) Fatal: There were 4 errors compiling module, stoppin
g
make[1]: *** [allunits.ppw] Error 1
make[1]: Leaving directory
`C:/Projects/Lazarus/lazarus/lcl'
make: *** [lcl] Error 2

=====
Sincerely yours Catalin

Phone : 0721.333.439
0722.336.491
Mail :
Web : www.geocities.com/cata_mincu
cata76.home.ro

__________________________________________________ Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Reply by email

Lord Satan
to Mattias Gaertner: On Sun, 30 Mar 2003 23:24:06 -0800 (PST) I made the events more compatible. But I suggest…
Show quoted text 12 lines
> > I made the events more compatible. But I suggest you > should use a more > recent compiler not older than 21 september of 2002. > > > > Mattias Ok. I saw that I'm using an older compiler. But this is what I get from fpc site. From where I can get a newer compiler version ?

Try the downloads section on the lazarus side.

Reply by email

Lord Satan
to Mattias Gaertner: On Sun, 30 Mar 2003 23:24:06 -0800 (PST) I made the events more compatible. But I suggest…
Show quoted text 17 lines
On Mon, 31 Mar 2003 01:50:38 -0800 (PST) Catalin Mincu wrote: > > > > I made the events more compatible. But I suggest you > > should use a more > > recent compiler not older than 21 september of 2002. > > > > > > > > Mattias > > Ok. I saw that I'm using an older compiler. But this > is what I get from fpc site. From where I can get a > newer compiler version ? Try the downloads section on the lazarus side.

oops, just saw that you are trying to use a m$ product so I think the best guess would be to use cvs to get a newer version from freepascal.org

Reply by email

Mattias Gaertner
to Catalin Mincu: I checkout sources for Lazarus today and I've got an error when I try to build them. It's…
I checkout sources for Lazarus today and I've got an error when I try to build them. It's on the Printer unit. Please help me .

I made the events more compatible. But I suggest you should use a more recent compiler not older than 21 september of 2002.

Mattias

Show quoted text 73 lines
---------------------------------------- C:\Projects\Lazarus\lazarus>make make -C lcl all make[1]: Entering directory `C:/Projects/Lazarus/lazarus/lcl' C:/pp/bin/win32/rm.exe -f units/allunits.ppw C:/pp/bin/win32/ppc386.exe -gl -Fuinterfaces/abstract -Fu. -Fuc:/pp/units/win32/ rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/m ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits -di386 allunits.pp Free Pascal Compiler version 1.0.6 [2002/04/23] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Win32 for i386 Compiling allunits.pp Compiling printers.pas Compiling postscriptprinter.pas postscriptprinter.pas(325,40) Hint: Parameter APEN not used postscriptprinter.pas(355,23) Error: Method (variable) and Procedure (variable) are not compatible postscriptprinter.pas(355,23) Error: Incompatible types: got "<procedure variabl e type of procedure(TPSPEN) of object;>" expected "<procedure variable type of p rocedure(TOBJECT) of object;>" postscriptprinter.pas(497,26) Hint: use DIV instead to get an integer result postscriptprinter.pas(548,37) Hint: use DIV instead to get an integer result postscriptprinter.pas(548,71) Hint: use DIV instead to get an integer result postscriptprinter.pas(815,28) Error: Method (variable) and Procedure (variable) are not compatible postscriptprinter.pas(815,28) Error: Incompatible types: got "<procedure variabl e type of procedure(TPSPATTERN) of object;>" expected "<procedure variable type of procedure(TOBJECT) of object;>" postscriptprinter.pas(1115) Fatal: There were 4 errors compiling module, stoppin g make[1]: *** [allunits.ppw] Error 1 make[1]: Leaving directory `C:/Projects/Lazarus/lazarus/lcl' make: *** [lcl] Error 2 ===== Sincerely yours Catalin Phone : 0721.333.439 0722.336.491 Mail : Web : www.geocities.com/cata_mincu cata76.home.ro __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Catalin Mincu
to Mattias Gaertner: On Mon, 31 Mar 2003 12:02:12 +0200 There are currently no win32 compiler snapshots on the…
Show quoted text 7 lines
There are currently no win32 compiler snapshots on the lazarus site. Try http://www.freepascal.org/develop.html#snapshotv10

I have tried this but the compiler it's the same . Can anybody give me a newer compiler (fpc of course) and the rest of tools for win32 ?
Thanks guys.

=====
Sincerely yours Catalin

Phone : 0721.333.439
0722.336.491
Mail :
Web : www.geocities.com/cata_mincu
cata76.home.ro

__________________________________________________ Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Sun, 30 Mar 2003 23:24:06 -0800 (PST) I made the events more compatible. But I suggest…
Show quoted text 17 lines
On Mon, 31 Mar 2003 01:50:38 -0800 (PST) Catalin Mincu wrote: > > > > I made the events more compatible. But I suggest you > > should use a more > > recent compiler not older than 21 september of 2002. > > > > > > > > Mattias > > Ok. I saw that I'm using an older compiler. But this > is what I get from fpc site. From where I can get a > newer compiler version ? Try the downloads section on the lazarus side.

There are currently no win32 compiler snapshots on the lazarus site.

Try

http://www.freepascal.org/develop.html#snapshotv10

Mattias

Reply by email

Catalin Mincu
to Mattias Gaertner: On Sun, 30 Mar 2003 23:24:06 -0800 (PST) I made the events more compatible. But I suggest…
Show quoted text 8 lines
I made the events more compatible. But I suggest you should use a more recent compiler not older than 21 september of 2002. Mattias

Ok. I saw that I'm using an older compiler. But this is what I get from fpc site. From where I can get a newer compiler version ?

=====
Sincerely yours Catalin

Phone : 0721.333.439
0722.336.491
Mail :
Web : www.geocities.com/cata_mincu
cata76.home.ro

__________________________________________________ Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

Reply by email