I have installed the MusicKit Frameworks from the binary download
MK-5.4.0.b.MOX.pkg.tar. When trying to compile the metronome example I
get the following error:
header file 'MKSynthPatches/Pluck.h' not found
undefined type, found 'Pluck'
What am I doing wrong?
From: Leigh Smith <leigh@to...> - 2001-09-27 12:45:35
Not all examples have been converted to OpenStep (Cocoa/GnuStep). The
example you are trying to compile is one which uses a MKSynthPatch, Pluck,
that is, a DSP synthesis instrument. Only NeXT systems or Intel OpenStep
systems with a 56K DSP card support the DSP system.
Only the MIDI and MKSampleInstrument based applications will currently
compile on newer systems such as MacOS X, Linux and Win32 (per table 1
listing supported systems). To get the MKSynthPatches to compile on these
systems needs SAOL support which is only in the initial design stages
(although not a lot of work in total, using sfront). Once SAOL support is
there, all the examples and applications should compile (perhaps with a bit
of NeXTStep->OpenStep conversion).
Applications I would recommend attempting to compile to test the system are
those beginning with "Midi" and ScorePlayer, another good one is PianoRoll.
The other approach would be to change the MKSynthInstrument used by
Metronome to MKMidi rather than Pluck, and remove the header file.
I'll try to put together a list of currently working apps (there is one for
shipping in the Utilities/Packaging/packageBinaries script), but a safer
way would be to define a single build script that was discussed yesterday.