Friday, March 27, 2009

Compiling the MusicKit

It's back to the MusicKit after a break for a few years, and getting it to compile against developments that have taken place in GNUstep requires a bit of work. These notes refer to the trunk of MusicKit as of March 27, 2009.

Errors about common.make require this file to be run to get the environment set up correctly:
. /usr/share/GNUstep/Makefiles/GNUstep.sh

portmidi.h: no such file or directory

so need the development librarires for portmidi. On ubuntu:

sudo aptitude install libportmidi-dev

Then we come up against the following warnings which could well be causing bigger problems:

GNUSTEP_INSTALLATION_DIR is deprecated. Please use GNUSTEP_INSTALLATION_DOMAIN instead

Nicola pero has some notes on this.

So in the GNUmakefile in trunk/MusicKit/Frameworks/PlatformDependent/MKPerformSndMIDI_portaudio I changed:
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
to:
GNUSTEP_INSTALLATION_DOMAIN = LOCAL

Tried SYSTEM in place of LOCAL too, but still getting problems with the header files of MKPerformSndMIDI not being recognised when the SndKit starts to build. Anyway, that's where I am for the moment and will try more later...

0 comments: