[Qutecsound-users] qutecsound fails to build under Ubuntustudio 9.10
Brought to you by:
mantaraya36
From: Anders G. <and...@gm...> - 2009-06-02 14:33:15
|
Hi! I'm not all that good at coding and building from source so I might be missing something obvious, but I'll venture a posting to this here list in hope for some guidance. When trying to build under ubuntustudio 9.10 I get the following errors: $ make g++ -c -pipe -g -D_REENTRANT -Wall -W -DQUTE_USE_CSOUNDPERFORMANCETHREAD -DUSE_LIBSNDFILE -DLINUX -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/local/include/csound/ -I/usr/include/csound/ -I. -I. -o qutecsound.o qutecsound.cpp In file included from qutecsound.h:30, from qutecsound.cpp:23: types.h:67:20: error: csound.h: No such file or directory In file included from qutecsound.cpp:23: qutecsound.h:48:22: error: csound.hpp: No such file or directory qutecsound.h:49:28: error: csPerfThread.hpp: No such file or directory qutecsound.cpp:38:21: error: cwindow.h: No such file or directory In file included from qutecsound.h:30, from qutecsound.cpp:23: types.h:86: error: ISO C++ forbids declaration of ‘CSOUND’ with no type types.h:86: error: expected ‘;’ before ‘*’ token types.h:90: error: ‘MYFLT’ does not name a type types.h:92: error: ISO C++ forbids declaration of ‘MYFLT’ with no type types.h:92: error: expected ‘;’ before ‘*’ token types.h:111: error: ‘MYFLT’ was not declared in this scope types.h:111: error: template argument 1 is invalid types.h:125: error: ‘MYFLT’ has not been declared types.h:147: error: ‘MYFLT’ has not been declared types.h: In member function ‘void RingBuffer::put(int)’: types.h:130: error: invalid types ‘int[long int]’ for array subscript In file included from qutecsound.h:30, from qutecsound.cpp:23: types.h: In member function ‘bool RingBuffer::copyAvailableBuffer(int*, int)’: types.h:161: error: invalid types ‘int[long int]’ for array subscript types.h: In member function ‘void RingBuffer::resize(int)’: types.h:170: error: request for member ‘clear’ in ‘((RingBuffer*)this)->RingBuffer::buffer’, which is of non-class type ‘int’ types.h:172: error: request for member ‘append’ in ‘((RingBuffer*)this)->RingBuffer::buffer’, which is of non-class type ‘int’ types.h: In member function ‘void RingBuffer::allZero()’: types.h:180: error: request for member ‘size’ in ‘((RingBuffer*)this)->RingBuffer::buffer’, which is of non-class type ‘int’ types.h:181: error: invalid types ‘int[int]’ for array subscript In file included from qutecsound.cpp:23: qutecsound.h: At global scope: qutecsound.h:81: error: ‘CSOUND’ has not been declared qutecsound.h:85: error: ‘CSOUND’ has not been declared qutecsound.h:89: error: ‘CSOUND’ has not been declared qutecsound.h:95: error: ‘CSOUND’ has not been declared qutecsound.h:95: error: ‘WINDAT’ has not been declared qutecsound.h:96: error: ‘CSOUND’ has not been declared qutecsound.h:96: error: ‘WINDAT’ has not been declared qutecsound.h:97: error: ‘CSOUND’ has not been declared qutecsound.h:97: error: ‘WINDAT’ has not been declared qutecsound.h:98: error: ‘CSOUND’ has not been declared qutecsound.h:106: error: ‘CSOUND’ has not been declared qutecsound.h:108: error: ‘MYFLT’ has not been declared qutecsound.h:109: error: ‘CSOUND’ has not been declared qutecsound.h:111: error: ‘MYFLT’ has not been declared qutecsound.h:120: error: ‘WINDAT’ has not been declared qutecsound.h:121: error: ‘CSOUND’ has not been declared qutecsound.h:220: error: ISO C++ forbids declaration of ‘CSOUND’ with no type qutecsound.h:220: error: expected ‘;’ before ‘*’ token qutecsound.h:222: error: ISO C++ forbids declaration of ‘CsoundPerformanceThread’ with no type qutecsound.h:222: error: expected ‘;’ before ‘*’ token qutecsound.h:227: error: ISO C++ forbids declaration of ‘MYFLT’ with no type qutecsound.h:227: error: expected ‘;’ before ‘*’ token qutecsound.h:233: error: ‘WINDAT’ was not declared in this scope qutecsound.h:233: error: template argument 1 is invalid In file included from widgetpanel.h:31, from qutecsound.cpp:26: curve.h:47: error: ‘uintptr_t’ does not name a type curve.h:57: error: ‘uintptr_t’ has not been declared curve.h:58: error: ‘MYFLT’ has not been declared curve.h:70: error: ‘uintptr_t’ does not name a type In file included from qutecsound.cpp:26: widgetpanel.h:66: error: expected ‘;’ before ‘(’ token qutecsound.cpp:48: error: ‘uintptr_t’ does not name a type qutecsound.cpp: In constructor ‘qutecsound::qutecsound(QStringList)’: qutecsound.cpp:62: error: ‘pFields’ was not declared in this scope qutecsound.cpp:62: error: ‘MYFLT’ was not declared in this scope qutecsound.cpp:62: error: expected primary-expression before ‘)’ token qutecsound.cpp:62: error: expected ‘;’ before ‘calloc’ qutecsound.cpp:156: error: ‘csound’ was not declared in this scope qutecsound.cpp:157: error: ‘csoundInitialize’ was not declared in this scope qutecsound.cpp: At global scope: qutecsound.cpp:184: error: variable or field ‘messageCallback_NoThread’ declared void qutecsound.cpp:184: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:184: error: ‘csound’ was not declared in this scope qutecsound.cpp:185: error: expected primary-expression before ‘int’ qutecsound.cpp:186: error: expected primary-expression before ‘const’ qutecsound.cpp:187: error: expected primary-expression before ‘args’ qutecsound.cpp:198: error: variable or field ‘messageCallback_Thread’ declared void qutecsound.cpp:198: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:198: error: ‘csound’ was not declared in this scope qutecsound.cpp:199: error: expected primary-expression before ‘int’ qutecsound.cpp:200: error: expected primary-expression before ‘const’ qutecsound.cpp:201: error: expected primary-expression before ‘args’ qutecsound.cpp:211: error: variable or field ‘messageCallback_Devices’ declared void qutecsound.cpp:211: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:211: error: ‘csound’ was not declared in this scope qutecsound.cpp:212: error: expected primary-expression before ‘int’ qutecsound.cpp:213: error: expected primary-expression before ‘const’ qutecsound.cpp:214: error: expected primary-expression before ‘args’ qutecsound.cpp: In member function ‘virtual void qutecsound::closeEvent(QCloseEvent*)’: qutecsound.cpp:281: error: ‘pFields’ was not declared in this scope qutecsound.cpp: In member function ‘void qutecsound::runCsound(bool)’: qutecsound.cpp:841: error: ‘csound’ was not declared in this scope qutecsound.cpp:841: error: ‘csoundCreate’ was not declared in this scope qutecsound.cpp:846: error: ‘csoundSetMessageCallback’ was not declared in this scope qutecsound.cpp:849: error: ‘perfThread’ was not declared in this scope qutecsound.cpp:849: error: expected type-specifier before ‘CsoundPerformanceThread’ qutecsound.cpp:849: error: expected ‘;’ before ‘CsoundPerformanceThread’ qutecsound.cpp:854: error: ‘csoundSetMessageCallback’ was not declared in this scope qutecsound.cpp:857: error: ‘csoundReset’ was not declared in this scope qutecsound.cpp:858: error: ‘csoundSetHostData’ was not declared in this scope qutecsound.cpp:859: error: ‘csoundPreCompile’ was not declared in this scope qutecsound.cpp:861: error: ‘csoundCreateGlobalVariable’ was not declared in this scope qutecsound.cpp:864: error: ‘csoundQueryGlobalVariable’ was not declared in this scope qutecsound.cpp:868: error: ‘csoundQueryGlobalVariable’ was not declared in this scope qutecsound.cpp:875: error: ‘csoundSetIsGraphable’ was not declared in this scope qutecsound.cpp:876: error: ‘csoundSetMakeGraphCallback’ was not declared in this scope qutecsound.cpp:877: error: ‘csoundSetDrawGraphCallback’ was not declared in this scope qutecsound.cpp:878: error: ‘csoundSetKillGraphCallback’ was not declared in this scope qutecsound.cpp:879: error: ‘csoundSetExitGraphCallback’ was not declared in this scope qutecsound.cpp:881: error: ‘csoundCompile’ was not declared in this scope qutecsound.cpp:882: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:883: error: ‘struct CsoundUserData’ has no member named ‘zerodBFS’ qutecsound.cpp:883: error: ‘csoundGet0dBFS’ was not declared in this scope qutecsound.cpp:884: error: ‘csoundGetSr’ was not declared in this scope qutecsound.cpp:885: error: ‘csoundGetNchnls’ was not declared in this scope qutecsound.cpp:889: error: ‘CSOUND_SUCCESS’ was not declared in this scope qutecsound.cpp:902: error: ‘csoundSetInputValueCallback’ was not declared in this scope qutecsound.cpp:903: error: ‘csoundSetOutputValueCallback’ was not declared in this scope qutecsound.cpp:906: error: ‘csoundSetInputValueCallback’ was not declared in this scope qutecsound.cpp:907: error: ‘csoundSetOutputValueCallback’ was not declared in this scope qutecsound.cpp:919: error: ‘perfThread’ was not declared in this scope qutecsound.cpp:926: error: ‘csoundPerformKsmps’ was not declared in this scope qutecsound.cpp:927: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:927: error: ‘csoundGetKsmps’ was not declared in this scope qutecsound.cpp:928: error: ‘struct CsoundUserData’ has no member named ‘outputBuffer’ qutecsound.cpp:928: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:928: error: ‘csoundGetSpout’ was not declared in this scope qutecsound.cpp:930: error: ‘struct CsoundUserData’ has no member named ‘outputBuffer’ qutecsound.cpp: In member function ‘void qutecsound::stopCsound()’: qutecsound.cpp:1053: error: ‘perfThread’ was not declared in this scope qutecsound.cpp:1056: error: type ‘<type error>’ argument given to ‘delete’, expected pointer qutecsound.cpp:1065: error: ‘csound’ was not declared in this scope qutecsound.cpp:1065: error: ‘csoundCleanup’ was not declared in this scope qutecsound.cpp:1069: error: ‘csound’ was not declared in this scope qutecsound.cpp:1069: error: ‘csoundStop’ was not declared in this scope qutecsound.cpp:1070: error: ‘csoundCleanup’ was not declared in this scope qutecsound.cpp:1078: error: ‘csound’ was not declared in this scope qutecsound.cpp:1078: error: ‘csoundDestroy’ was not declared in this scope qutecsound.cpp: In member function ‘void qutecsound::recordBuffer()’: qutecsound.cpp:1141: error: ‘MYFLT’ was not declared in this scope qutecsound.cpp:1141: error: expected ‘;’ before ‘sample’ qutecsound.cpp:1144: error: ‘sample’ was not declared in this scope qutecsound.cpp: In member function ‘void qutecsound::runUtility(QString)’: qutecsound.cpp:1444: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:1444: error: ‘csoundU’ was not declared in this scope qutecsound.cpp:1445: error: ‘csoundCreate’ was not declared in this scope qutecsound.cpp:1446: error: ‘csoundReset’ was not declared in this scope qutecsound.cpp:1447: error: ‘csoundSetHostData’ was not declared in this scope qutecsound.cpp:1448: error: ‘csoundSetMessageCallback’ was not declared in this scope qutecsound.cpp:1449: error: ‘csoundPreCompile’ was not declared in this scope qutecsound.cpp:1451: error: ‘csoundRunUtility’ was not declared in this scope qutecsound.cpp:1452: error: ‘csoundCleanup’ was not declared in this scope qutecsound.cpp:1453: error: ‘csoundDestroy’ was not declared in this scope qutecsound.cpp: In member function ‘void qutecsound::dispatchQueues()’: qutecsound.cpp:1567: error: request for member ‘size’ in ‘((qutecsound*)this)->qutecsound::curveBuffer’, which is of non-class type ‘int’ qutecsound.cpp:1569: error: request for member ‘resize’ in ‘((qutecsound*)this)->qutecsound::curveBuffer’, which is of non-class type ‘int’ In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qtextcodec.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtGui/QtGui:3, from qutecsound.h:28, from qutecsound.cpp:23: /usr/include/qt4/QtCore/qglobal.h: At global scope: /usr/include/qt4/QtCore/qglobal.h: In instantiation of ‘QForeachContainer<int>’: qutecsound.cpp:1571: instantiated from here /usr/include/qt4/QtCore/qglobal.h:2057: error: ‘int’ is not a class, struct, or union type /usr/include/qt4/QtCore/qglobal.h:2057: error: ‘int’ is not a class, struct, or union type qutecsound.cpp: In member function ‘void qutecsound::dispatchQueues()’: qutecsound.cpp:1571: error: ‘class QForeachContainer<int>’ has no member named ‘i’ qutecsound.cpp:1571: error: ‘class QForeachContainer<int>’ has no member named ‘e’ qutecsound.cpp:1571: error: ‘class QForeachContainer<int>’ has no member named ‘i’ qutecsound.cpp:1571: error: ‘WINDAT’ was not declared in this scope qutecsound.cpp:1571: error: ‘windat’ was not declared in this scope qutecsound.cpp:1571: error: ‘class QForeachContainer<int>’ has no member named ‘i’ qutecsound.cpp:1572: error: ‘class WidgetPanel’ has no member named ‘getCurveById’ qutecsound.cpp:1585: error: request for member ‘remove’ in ‘((qutecsound*)this)->qutecsound::curveBuffer’, which is of non-class type ‘int’ qutecsound.cpp:1585: error: request for member ‘indexOf’ in ‘((qutecsound*)this)->qutecsound::curveBuffer’, which is of non-class type ‘int’ qutecsound.cpp: In static member function ‘static void qutecsound::readWidgetValues(CsoundUserData*)’: qutecsound.cpp:2791: error: ‘MYFLT’ was not declared in this scope qutecsound.cpp:2791: error: ‘pvalue’ was not declared in this scope qutecsound.cpp:2793: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2794: error: ‘CSOUND_INPUT_CHANNEL’ was not declared in this scope qutecsound.cpp:2794: error: ‘CSOUND_CONTROL_CHANNEL’ was not declared in this scope qutecsound.cpp:2794: error: ‘csoundGetChannelPtr’ was not declared in this scope qutecsound.cpp:2795: error: expected ‘;’ before ‘ud’ qutecsound.cpp:2797: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2798: error: ‘CSOUND_INPUT_CHANNEL’ was not declared in this scope qutecsound.cpp:2798: error: ‘CSOUND_STRING_CHANNEL’ was not declared in this scope qutecsound.cpp:2798: error: ‘csoundGetChannelPtr’ was not declared in this scope qutecsound.cpp: In static member function ‘static void qutecsound::writeWidgetValues(CsoundUserData*)’: qutecsound.cpp:2808: error: ‘MYFLT’ was not declared in this scope qutecsound.cpp:2808: error: ‘pvalue’ was not declared in this scope qutecsound.cpp:2811: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2812: error: ‘CSOUND_OUTPUT_CHANNEL’ was not declared in this scope qutecsound.cpp:2812: error: ‘CSOUND_CONTROL_CHANNEL’ was not declared in this scope qutecsound.cpp:2812: error: ‘csoundGetChannelPtr’ was not declared in this scope qutecsound.cpp:2815: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2816: error: ‘CSOUND_STRING_CHANNEL’ was not declared in this scope qutecsound.cpp: In static member function ‘static void qutecsound::processEventQueue(CsoundUserData*)’: qutecsound.cpp:2835: error: ‘class qutecsound’ has no member named ‘pFields’ qutecsound.cpp:2835: error: ‘MYFLT’ was not declared in this scope qutecsound.cpp:2835: error: expected ‘;’ before ‘eventElements’ qutecsound.cpp:2842: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2842: error: ‘class qutecsound’ has no member named ‘pFields’ qutecsound.cpp:2842: error: ‘csoundScoreEvent’ was not declared in this scope qutecsound.cpp:2851: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2851: error: ‘class qutecsound’ has no member named ‘pFields’ qutecsound.cpp:2851: error: ‘csoundScoreEvent’ was not declared in this scope qutecsound.cpp: In static member function ‘static void qutecsound::csThread(void*)’: qutecsound.cpp:2906: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2906: error: ‘csoundPerformKsmps’ was not declared in this scope qutecsound.cpp:2907: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2907: error: ‘csoundGetKsmps’ was not declared in this scope qutecsound.cpp:2908: error: ‘struct CsoundUserData’ has no member named ‘outputBuffer’ qutecsound.cpp:2908: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp:2908: error: ‘csoundGetSpout’ was not declared in this scope qutecsound.cpp:2912: error: ‘struct CsoundUserData’ has no member named ‘outputBuffer’ qutecsound.cpp:2912: error: ‘struct CsoundUserData’ has no member named ‘zerodBFS’ qutecsound.cpp:2924: error: ‘struct CsoundUserData’ has no member named ‘csound’ qutecsound.cpp: In member function ‘QStringList qutecsound::runCsoundInternally(QStringList)’: qutecsound.cpp:2950: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:2950: error: ‘csoundD’ was not declared in this scope qutecsound.cpp:2951: error: ‘csoundCreate’ was not declared in this scope qutecsound.cpp:2952: error: ‘csoundReset’ was not declared in this scope qutecsound.cpp:2953: error: ‘csoundSetHostData’ was not declared in this scope qutecsound.cpp:2955: error: ‘csoundSetMessageCallback’ was not declared in this scope qutecsound.cpp:2956: error: ‘csoundCompile’ was not declared in this scope qutecsound.cpp:2958: error: ‘csoundPerformKsmps’ was not declared in this scope qutecsound.cpp:2961: error: ‘csoundCleanup’ was not declared in this scope qutecsound.cpp:2962: error: ‘csoundDestroy’ was not declared in this scope qutecsound.cpp: At global scope: qutecsound.cpp:2976: error: variable or field ‘updateCurve’ declared void qutecsound.cpp:2976: error: ‘WINDAT’ was not declared in this scope qutecsound.cpp:2976: error: ‘windat’ was not declared in this scope qutecsound.cpp:2983: error: ‘int qutecsound::killCurves’ is not a static member of ‘class qutecsound’ qutecsound.cpp:2983: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:2983: error: ‘csound’ was not declared in this scope qutecsound.cpp:2984: error: expected ‘,’ or ‘;’ before ‘{’ token qutecsound.cpp:2994: error: variable or field ‘outputValueCallback’ declared void qutecsound.cpp:2994: error: ‘CSOUND’ was not declared in this scope qutecsound.cpp:2994: error: ‘csound’ was not declared in this scope qutecsound.cpp:2995: error: expected primary-expression before ‘const’ qutecsound.cpp:2996: error: ‘MYFLT’ was not declared in this scope In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qtextcodec.h:45, from /usr/include/qt4/QtCore/QtCore:3, from /usr/include/qt4/QtGui/QtGui:3, from qutecsound.h:28, from qutecsound.cpp:23: /usr/include/qt4/QtCore/qglobal.h: In constructor ‘QForeachContainer<T>::QForeachContainer(const T&) [with T = int]’: qutecsound.cpp:1571: instantiated from here /usr/include/qt4/QtCore/qglobal.h:2054: error: using invalid field ‘QForeachContainer<T>::i’ /usr/include/qt4/QtCore/qglobal.h:2054: error: request for member ‘begin’ in ‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’, which is of non-class type ‘const int’ /usr/include/qt4/QtCore/qglobal.h:2054: error: using invalid field ‘QForeachContainer<T>::e’ /usr/include/qt4/QtCore/qglobal.h:2054: error: request for member ‘end’ in ‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’, which is of non-class type ‘const int’ make: *** [qutecsound.o] Error 1 What do I do wrong? Best regards, Anders |