I just update my FPC and Lazarus SVN and make sure it got all the new updates. Recompile FPC, it did well. Recompile lazarus with bigide param, the problem still persists.
> 1. Line 4,1 of cupsprinters.inc is *not* a comment block and > there *is* a UDLGSELECTPRINTER on line 4,6. Correct. It seemed that I opened a wrong file. Sorry, my mistake. :) > 2. Because of -dNativePrint -dLCL -dLCLcarbon, it should not use > cupsprinters.inc, but carbonprinters.inc. 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. -Bee- has Bee.ography at: http://beeography.wordpress.com _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
