Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-02

what needs changed to compile going from Carbon to Cocoa

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ken G. Brown

I've started my project from the FPC-C-C++ Carbon Application 2.2.0 template, have it compiling nicely now even tho it does not yet run from Finder. Now i would like to change it to a Cocoa app.

What settings do I need to change to accomplish this?

MacOS X 10.5.6, fpc 2.2.2, Xcode 3.1.2

Thx for any tips,
Ken G. Brown

Jonas Maebe
to Ken G. Brown
Ken G. Brown wrote 5 lines
I've started my project from the FPC-C-C++ Carbon Application 2.2.0 template, have it compiling nicely now even tho it does not yet run from Finder. Now i would like to change it to a Cocoa app. What settings do I need to change to accomplish this?

Going from Carbon to Cocoa is not a setting that you can change. It's a completely different API that you have to program against. Support for creating Cocoa FPC programs is still experimental at this point. See http://wiki.freepascal.org/PasCocoa for the basics and more information.

Jonas