2 Replies Latest reply: May 8, 2012 10:41 AM by Resn8tor
Resn8tor Level 1 (115 points)

I'm trying to build portmidi on OS X 10.7.3.  The makefile includes:


#include <CoreServices/CoreServices.h>

#include <CoreMIDI/MIDIServices.h>

#include <CoreAudio/HostTime.h>

and I get "No such file or directory" errors on each one.


I have Xcode 4.2.3 installed, as well as Xcode 4.1.


The real point of this exercise is to build the porttime library that I need to use with portmidi.


Any suggestions as to how to get this to build?

iMac 2.7 GHz Intel Core i5 16 GB, Mac OS X (10.7.3)
  • etresoft Level 7 (27,813 points)

    Those are not makefile directives. How are you trying to build it? Most projects like this come with "configure" scripts that you just need to run from the command line. The only thing you need from Xcode are the Command Line Tools.

  • Resn8tor Level 1 (115 points)

    Portmidi does come with a distutils script along with makefiles for two of the included binaries.  The makefiles don't work on my system as-is, I think because the OS and tools have changed in the last 10 years.


    I finally managed to get in touch with someone who has updated the build to use CMake, and with a little fussing due to not knowing how to use CMake I managed to get everything to build.