[fpc-pascal] Mac OS X SDL without gcc or XCode

Joseph Montanez jmontanez at gorilla3d.com
Sun Mar 22 03:22:53 CET 2009

I am also using sdl via macports but when I run an sdl demo, i get:

"2009-03-21 16:25:08.178 test[694:10b] Warning once: This application,
or a library it uses, is using NSQuickDrawView, which has been
deprecated. Apps should cease use of QuickDraw and move to Quartz."

Am i doing something wrong?

fpc -Fu/usr/local/lib/fpc/2.2.2/units/i386-darwin/sdl -Fl/opt/local/lib test.pas

and from the wili using:
{$linklib gcc}
{$linklib SDLmain}

On Tue, Mar 17, 2009 at 11:37 AM, dmitry boyarintsev
<skalogryz.lists at gmail.com> wrote:
>> Yes, that can still be removed.
> Removed...yes, but shall it be removed in fpc headers?  Or should it
> be removed in jedi-sdl headers first, and only after that fpc sdl
> headers will be updated?
> I could make a patch, removing x11 dependancy for darwin, but
> something tells me, that it would not be accepted that easy :)
>> No problem.
> done. http://wiki.freepascal.org/FPC_and_SDL#Mac_OS_X_specific_issues
> I hope it helps any fpc-osx-sdl-newcomers to understand that they need
> library rather than framework :)
> Thanks,
> Dmitry
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list