[Ardour-Users] Ardour MIDI Kludge (AMK)

Bernt Hansson bernt at bah.homeip.net
Tue Nov 10 04:54:09 PST 2009


Carlo Capocasa said the following on 2009-11-10 10:45:
> I have updated the package accordingly.
> 
>> try replacing this line:
>>
>> g++ -Wall -D__LINUX_ALSASEQ__ -o amk amk.cxx RtMidi.cpp -lasound -lpthread -ljack
>>
>> with this line:
>>
>> g++ -Wall -D__LINUX_ALSASEQ__ -o amk amk.cxx RtMidi.cpp -lasound -lpthread `pkg-config --cflags --libs jack`

Don't you put to much time on this! It's more of a test for me.
If it works it works, if not no big deal.

I've changed build.sh and get this

amk.cxx:27:18: error: jack.h: No such file or directory
amk.cxx:28:24: error: ringbuffer.h: No such file or directory
amk.cxx:29:20: error: thread.h: No such file or directory
amk.cxx:38: error: expected constructor, destructor, or type conversion 
before '*' token
amk.cxx:39: error: expected constructor, destructor, or type conversion 
before '*' token
amk.cxx:40: error: expected constructor, destructor, or type conversion 
before '*' token
amk.cxx:42: error: expected constructor, destructor, or type conversion 
before '*' token
amk.cxx:43: error: expected constructor, destructor, or type conversion 
before '*' token
amk.cxx: In function 'void* midithread_out_start(void*)':
amk.cxx:53: error: 'midiqueue_out' was not declared in this scope
amk.cxx:53: error: 'jack_ringbuffer_read_space' was not declared in this 
scope
amk.cxx:54: error: 'jack_ringbuffer_read' was not declared in this scope
amk.cxx: In function 'void cleanup()':
amk.cxx:69: error: 'client' was not declared in this scope
amk.cxx:69: error: 'jack_client_close' was not declared in this scope
amk.cxx: In function 'void midiin_callback(double, std::vector<unsigned 
char, std::allocator<unsigned char> >*, void*)':
amk.cxx:91: error: 'midiqueue_in' was not declared in this scope
amk.cxx:91: error: 'jack_ringbuffer_write' was not declared in this scope
amk.cxx: At global scope:
amk.cxx:96: error: 'jack_nframes_t' was not declared in this scope
amk.cxx:96: error: expected primary-expression before 'void'
amk.cxx:96: error: initializer expression list treated as compound 
expression
amk.cxx:97: error: expected ',' or ';' before '{' token
amk.cxx:74: warning: 'void signal_handler(int)' defined but not used

And so on.




More information about the Ardour-Users mailing list