Hi Philip,
Thanks for pointing this out. On the Mac that option was being
hidden due to the dialog size, so I could not see the area where I
needed to put the framework. This is now entered, but I now get a
"Unable to find sdl" error message when it tris to link to the
framework. Is there something else I need to do? Also, if I have
sdl.pas in the project file, it complains that it cant link to
-lSDL-1.2.0 .
If it finds the framework, does it still need to link to it via -l?
Thanks,
Dominique.
Quoting "Hess, Philip J" <[EMAIL PROTECTED]>:
Dominique,
On the Compiler Options tab, check the "Pass Options To The Linker" box
and enter this in text box: -framework sdl
This will be passed to FPC as -k'-framework' -k'sdl', which then passes
the switches on to the linker.
Thanks.
-Phil
-----Original Message-----
From: Dominique Louis [mailto:[EMAIL PROTECTED]
Sent: Monday, October 29, 2007 9:38 AM
To: [email protected]
Subject: [lazarus] Using SDL.framework within Lazaru project
Hi all,
What is the correct way to use an *.framework within a Lazarus
project?
I can get SDL.framework working with XCode, but don't know where put
the -kSDL line to get it to pull in the framework.
Thanks,
Dominique.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives