Author Topic: Adding Frameworks Mac OS 10(.5)  (Read 1881 times)

Konstantin

  • Guest
Adding Frameworks Mac OS 10(.5)
« on: May 29, 2008, 11:10:27 am »
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

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Adding Frameworks Mac OS 10(.5)
« Reply #1 on: June 02, 2008, 10:09:02 pm »
Use "other linker flags", and -framework SDL

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