[Lazarus] Mac OS X : Trying to build Lazarus from source [patch included]

Dominique Louis dominique at savagesoftware.com.au
Tue Mar 18 21:44:56 CET 2008


Could someone please apply the attached patch to carbonprndialogs.inc in 
SVN.

This is what was stopping me from compiling from both the IDE and via 
the command line.

I now have a linking issue via the command line which does not occur via 
the IDE :(. Something to do with undefined symbols for 
_CGLChoosePixelformat, _CGLClearDrawable and a few other calls which all 
look like OpenGL calls to me, but I could be wrong.

I'll investigate further before posting more about it here.

PS what is the correct procedure for submitting patches?


Dominique

Dominique Louis wrote:
> When trying to build Lazarus from source on Mac OS X I'm running into 
> some problems...
> 
> When I do try
> sudo make LCL_PLATFORM=carbon OPT="-kframework -kCarbon" CPU_TARGET=i386
> 
> I get the following error message...
> Fatal: Syntax error, "IMPLEMENTATION" expected but "shl" found
> on the file ccodeparsetool.pas(62,1)
> 
> Doe anyone know how I can fix this error and proceed?
> 
> I'm using FPC version 2.3.1, if that makes any difference and the 
> lazarus code is straight from SVN.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: carbonprndialogs.inc.patch
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080318/78f35be4/attachment-0007.ksh>


More information about the Lazarus mailing list