Bee wrote:

> Using...
> 
> make all LCL_PLATFORM=carbon OPT="-k-framework -kcarbon -k-framework 
> -kOpenGL -k'-dylib_file' 
> -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> :/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
>  
> -dNativePrint -va" bigide
> 
> I got this...
> 
> [1.311] Back in osprinters.pas
> [1.311] ENDIF NATIVEPRINT found
> [1.311] ENDIF LCLCARBON found
> [1.311] IFDEF LCLQT found, rejected
> [1.311] Skipping until...
> [1.311] Handling switch "$ELSE"
> [1.311] ELSE LCLQT found, accepted
> [1.311] Handling switch "$I"
> [1.311] Searching file cupsprinters.inc... not found
> [1.311] Searching file CUPSPRINTERS.INC... not found
> [1.311] Searching file cupsprinters.inc... not found
> [1.311] Searching file CUPSPRINTERS.INC... not found
> [1.311] Searching file ./unix/cupsprinters.inc... found
> [1.311] Searching file ./unix/cupsprinters.inc... found
> [1.311] Start reading includefile ./unix/cupsprinters.inc
> [1.311] Illegal expression
> [1.311] Syntax error, ";" expected but "identifier UDLGSELECTPRINTER" found
> [1.312] ENDIF LCLQT found
> [1.312] ENDIF UNIX found
> [1.312] Searching file printersdlgs.pp... found
> [1.401] Compilation aborted
> 
> Obviously the compiler locates for cupsprinters.inc instead of 
> carbonprinters.inc
> 
> Did I do something wrong? TIA.

Yes. You are recompiling a printers package outside IDE. Thats why 
LCLCarbon is undefined. Add -dLCLCarbon to your params to overcome this 
problem.

Best regards,
Paul Ishenin.

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to