Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 Compiler error when --disable-jack-midi is given

git_head
closed
2015-02-01
2013-05-04
Karl Lindén
No

When configuring synthv1 (latest SVN and 0.3.2) with --disable-jack-midi, make gives the following error:

g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -DDATADIR="/usr/local/share" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include -I/usr/include/qt4 -I.moc_jack -I.ui_jack -o .obj_jack/synthv1_jack.o synthv1_jack.cpp
synthv1_jack.cpp: In member function 'int synthv1_jack::process(jack_nframes_t)':
synthv1_jack.cpp:203:2: error: 'jack_midi_event_t' was not declared in this scope
synthv1_jack.cpp:203:20: error: expected ';' before 'event'
synthv1_jack.cpp:205:14: error: 'event' was not declared in this scope
synthv1_jack.cpp: In member function 'void synthv1_jack::open(const char)':
synthv1_jack.cpp:293:19: error: 'jack_midi_event_t' was not declared in this scope
synthv1_jack.cpp: In member function 'void synthv1_jack::alsa_capture(snd_seq_event_t
)':
synthv1_jack.cpp:474:22: error: 'jack_midi_event_t' was not declared in this scope
synthv1_jack.cpp:480:23: error: 'ev_head' was not declared in this scope
synthv1_jack.cpp:480:53: error: expected primary-expression before ')' token
synthv1_jack.cpp:483:23: error: 'jack_midi_data_t' was not declared in this scope
synthv1_jack.cpp:483:41: error: expected primary-expression before ')' token
synthv1_jack.cpp:483:43: error: expected ';' before 'ev_data'
make[2]: [.obj_jack/synthv1_jack.o] Error 1
make[2]: Leaving directory /home/kalle/Sources/synthv1-svn/src' make[1]: *** [sub-src-src_jack-pro-make_default] Error 2 make[1]: Leaving directory/home/kalle/Sources/synthv1-svn'
make:
[jack] Error 2

Discussion

    • status: open --> pending
     
  • Karl Lindén
    Karl Lindén
    2013-05-04

    Great! Thanks a lot!

     
    • status: pending --> closed