Dealing with frameworks

Discussion in 'Mac Programming' started by zrbecker, Apr 1, 2011.

  1. zrbecker macrumors member

    Jun 28, 2009
    I am trying to get the Allegro 5 frameworks to work with my Xcode project. I finally was able to get it to build, but with a few annoyances I would like to remedy.

    First, some of the frameworks have header files included in them. In order to expose these to my project, I had to add the entire framework path to my header search path.

    I noticed that if I did Allegro-5.0/allegro5/allegro.h it would also get the header file, but then the header files that allegro.h utilized would not be in the path. I assume there is some setting that lets me omit the Allegro-5.0 (the framework name) from the #include directive.

    My second problem is it is not copying the frameworks into the app bundle. I imagine this is a setting somewhere in there, but I haven't found it.

    I am using Xcode 4.
  2. monsieurpaul macrumors regular

    Oct 8, 2009
  3. zrbecker thread starter macrumors member

    Jun 28, 2009

Share This Page