News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Adding Frameworks Mac OS 10(.5)

Started by Konstantin, May 29, 2008, 11:10:27 AM

Previous topic - Next topic

Konstantin

Hi, i hope this question wasnt asked too often, but how do i add frameworks (For example the SDL.framework for MAC OSX) to CodeBlocks.

If i create an sdl project and try to compile it, it says it cant find the necessary librarys, which is very logical cos i havent add them to the project.
But since SDL for mac comes in .framework, i wonder how i can add that to the compiler / linker settings to get it work.
I hope you guys can help me out,
cheers, Konstantin

afb

Use "other linker flags", and -framework SDL

Or compile SDL as a library (.dylib) instead of a framework...