[Lazarus] OS X/Carbon Compilation
Hess, Philip J
pjhess at purdue.edu
Mon Feb 25 18:49:45 CET 2008
It looks like somebody added an OpenGL dependency to the Carbon
widgetset for some reason. Try adding -k'-framework' -k'opengl' when
compiling and see if this doesn't fix it.
Thanks.
-Phil
-----Original Message-----
From: lazarus-bounces at lazarus.freepascal.org
[mailto:lazarus-bounces at lazarus.freepascal.org] On Behalf Of Damien
Gerard
Sent: Monday, February 25, 2008 11:45 AM
To: lazarus
Subject: [Lazarus] OS X/Carbon Compilation
When I try to compile the last snapshot of Lazarus or my own App
(using the fpc snapshot DMG 2.2.0)
Shani [milipili] ~/Projects/lazarus %
fpc
Err
18 #16
Free Pascal Compiler version 2.2.0 [2008/02/25] for i386
I have got the following errors :
Shani [milipili] ~/Projects/lazarus % make clean all
LCL_PLATFORM=carbon FPC=fpc OPT="-k'-framework' -k'carbon'"
<snip>
unknown stabs type 0xC0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/grids.o
unknown stabs type 0xE0 in /usr/local/share/lazarus/lcl/units/i386-
darwin/grids.o
Undefined symbols:
"_CGLDestroyContext", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLClearDrawable", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLCreateContext", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLSetCurrentContext", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLSetFullScreen", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLDestroyPixelFormat", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
"_CGLChoosePixelFormat", referenced from:
GLGRAB_GRABVIAOPENGL$CGDIRECTDISPLAYID$CGRECT$$CGIMAGEREF in
glgrab.o
May I miss something ?
--
Damien Gerard
milipili at shikami.org
Le temps n'a pas d'importance. Seul le code est important
-- (f00ty)
_______________________________________________
Lazarus mailing list
Lazarus at lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list