Menu

How to compile a dylib for Mac OS X

Help
2010-08-03
2012-11-23
  • arranger1044

    arranger1044 - 2010-08-03

    Hi I'm trying to use CLIPS as a dynamic library in an iPhone app in Xcode, I created a project ad BSD C Library and added the files from ClipsSrc, and compiled obtainint a libCLIPZ.dylib, then I tried to link that to another project for an iPhone app but when I write

    #include "clips.h"
    

    It does not recognize the header. Am i missing something?

     
  • Gary Riley

    Gary Riley - 2010-08-04

    Take a look at the xcode project for the OS X CLIPS IDE that's included in the 6.3 beta for Mac OS X. It includes a dynamic library in it and one of the build phases is to copy the header files so that they'll be available to the other targets that link to it.

     
  • arranger1044

    arranger1044 - 2010-08-05

    Thanks

     

Log in to post a comment.