Ardour build error

1 reply [Last post]
rapscal_2002
User offline. Last seen 6 years 11 weeks ago. Offline
Joined: 2008-01-02
Posts:

When building ardour from SDK with vst enabled I'm getting this:

/usr/include/jack/midiport.h: In member function ‘virtual void MIDI::JACK_MidiPort::cycle_start(MIDI::nframes_t)’:
/usr/include/jack/midiport.h:86: error: too few arguments to function ‘void jack_midi_clear_buffer(void*, jack_nframes_t)’
libs/midi++2/jack_midiport.cc:55: error: at this point in file
/usr/include/jack/midiport.h: In member function ‘virtual int MIDI::JACK_MidiPort::write(MIDI::byte*, size_t, MIDI::timestamp_t)’:
/usr/include/jack/midiport.h:142: error: too few arguments to function ‘int jack_midi_event_write(void*, jack_nframes_t, const jack_midi_data_t*, size_t, jack_nframes_t)’
libs/midi++2/jack_midiport.cc:68: error: at this point in file
/usr/include/jack/midiport.h: In member function ‘virtual int MIDI::JACK_MidiPort::read(MIDI::byte*, size_t, MIDI::timestamp_t)’:
/usr/include/jack/midiport.h:72: error: too few arguments to function ‘int jack_midi_event_get(jack_midi_event_t*, void*, jack_nframes_t, jack_nframes_t)’
libs/midi++2/jack_midiport.cc:82: error: at this point in file
/usr/include/jack/midiport.h: In member function ‘int MIDI::JACK_MidiPort::create_ports(const XMLNode&)’:
/usr/include/jack/midiport.h:86: error: too few arguments to function ‘void jack_midi_clear_buffer(void*, jack_nframes_t)’
libs/midi++2/jack_midiport.cc:108: error: at this point in file
/usr/include/jack/midiport.h:86: error: too few arguments to function ‘void jack_midi_clear_buffer(void*, jack_nframes_t)’
libs/midi++2/jack_midiport.cc:116: error: at this point in file
scons: *** [libs/midi++2/jack_midiport.os] Error 1
scons: building terminated because of errors.

tobe
User offline. Last seen 6 years 9 weeks ago. Offline
Joined: 2008-02-18
Posts:


$ svn diff --revision 945:1035 midiport.h | grep clear_buffer
-void jack_midi_clear_buffer(void* port_buffer, jack_nframes_t nframes);
+jack_midi_clear_buffer(void *port_buffer);

Scratch that a moment..

--
t o b e