Code::Blocks Forums

User forums => Help => Topic started by: Konstantin on May 29, 2008, 11:10:27 am

Title: Adding Frameworks Mac OS 10(.5)
Post by: Konstantin 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
Title: Re: Adding Frameworks Mac OS 10(.5)
Post by: afb 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...