Are you trying to use the osprinters unit? Don't do that. Use the Printers 
and/or PrintersDlgs units or else Lazarus will try to compile osprinters with 
the non-implemented Carbon printer files.

You'll also probably have to put something like this in "Other Unit Files" path:

$(LazarusDir)/components/printers/lib/$(TargetCPU)-$(TargetOS)/

Now Lazarus can find the compiled units.

Thanks.

-Phil


-----Oorspronkelijk bericht-----
Van: Dominique Louis [mailto:[EMAIL PROTECTED]
Verzonden: za 20-10-2007 10:43
Aan: lazarus@miraclec.com
Onderwerp: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
 
Hi all,
   this is possibly a silly error on my part. I have just updated to the 
latest snapshot version of Lazarus/FPC. When I try and compile my Mac OS 
X project the unit carbonprinters_h.inc is opened and the TCarbonPrinter 
class is highlighted and the console window error message is :
"carbonprinters_h.inc(7,3 Fatal : Syntax Error, 'IMPLEMENTATION' 
expected but identifier TCarbonPrinter found"

this include file is definitely missing an implementation section.

Btw, what does {%MainUnit ../osprinters.pp} imply? When I looked in that 
  directory all I found was osprinters.pas not osprinters.pp.

FPC compiler is listed as 2.2.1 and the Lazarus editor is listed as 
v0.9.23 beta.

Dominique.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

<<winmail.dat>>

Reply via email to