User forums > Help

Adding Frameworks Mac OS 10(.5)

(1/1)

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...

Navigation

[0] Message Index

Go to full version