News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Mac OS X usage

Started by bronxbomber92, January 08, 2007, 12:43:27 AM

Previous topic - Next topic

bronxbomber92

Hello,

I'm a new user to Code::Blocks migrating from Xcode. I have a few questions.

1.) When I go to quit the application, it won't. Code::block refuses to close, why is this so?

2.) How do I create templates?

3.) Are there any other external templates available?

3.) Is it possible to write Cocoa application (Cocoa/Objective-c)?

4.) How do I add frameworks?

Thanks for taking the time to help me out :)
Jedd

Auria

Hi, please first note that mac os X version of Code::Blocks is an ongoing effort and may be less stable than windows and linux versions (haven't tried it on mac for a long time, doesn't know exactly where it is now)

to add a framework, just locate the area where you can add flags, in target options, and add -framework Carbon (or whatever framework you want)

AFAIK, Code::Blocks doesn't support objective C. Even if it does, i guess Cocoa is strongly attached to XCode. You would need Interface Builder at least, and probably couldn't get it to auto add the files to project, etc.

Good luck :D

Game_Ender

GCC supports objective C and CB supports GCC so it should be rather simple to add support for Objective C.  You could just try adding the files to your project and compiling them.