[Cs-dev] CsoundQt not building on Windows
Date | 2013-11-13 23:29 |
From | Michael Gogins |
Subject | [Cs-dev] CsoundQt not building on Windows |
Attachments | None None |
After configuring (apparently successfully) with qmake qcs.pro CONFIG+=csound6: $ make g++ -c -pipe -fno-keep-inline-dllexport -g -O2 -std=gnu++11 -fopenmp -march=nocona -mstackrealign -DNDEBUG -O2 -frtti -Wall -Wextra -fexceptions -mthreads -DUNI
CODE -DCSOUND6 -DUSE_QT5 -DUSE_DOUBLE -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I'../cs ound-csound6-git/include' -I'../csound-csound6-git/interfaces' -I'D:/msys/local/opt/libsndfile/include' -I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/include'
-I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/include/QtPrintSupport' -I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/include/QtWidgets' -I'D:/qt-everywhere- opensource-src-5.1.0/qtbase/include/QtXml' -I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/include/QtGui' -I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/includ
e/QtCore' -I'build/moc' -I'build/ui' -I'D:/qt-everywhere-opensource-src-5.1.0/qtbase/mkspecs/win32-g++' -o build/doubles/obj/midihandler.o src/midihandler.cpp src/midihandler.cpp: In member function 'void MidiHandler::sendMidiOut(std::vector<unsigned char>*)':
src/midihandler.cpp:61:2: error: 'm_midiout' was not declared in this scope m_midiout->sendMessage(message); ^ src/midihandler.cpp: At global scope: src/midihandler.cpp:75:6: warning: unused parameter 'port' [-Wunused-parameter]
void MidiHandler::openMidiInPort(int port) ^ src/midihandler.cpp:108:6: warning: unused parameter 'port' [-Wunused-parameter] void MidiHandler::openMidiOutPort(int port)
^ Makefile:59430: recipe for target `build/doubles/obj/midihandler.o' failed make: *** [build/doubles/obj/midihandler.o] Error 1 mike@sorabji /c/Users/mike/qutecsound-code
$ make > log.txt src/midihandler.cpp: In member function 'void MidiHandler::sendMidiOut(std::vector<unsigned char>*)': src/midihandler.cpp:61:2: error: 'm_midiout' was not declared in this scope
m_midiout->sendMessage(message); ^ src/midihandler.cpp: At global scope: src/midihandler.cpp:75:6: warning: unused parameter 'port' [-Wunused-parameter] void MidiHandler::openMidiInPort(int port)
^ src/midihandler.cpp:108:6: warning: unused parameter 'port' [-Wunused-parameter] void MidiHandler::openMidiOutPort(int port) ^ make: *** [build/doubles/obj/midihandler.o] Error 1
----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2013-11-13 23:32 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] CsoundQt not building on Windows |
Attachments | None None |
Hi, Thanks, I'm missing an ifdef. Will fix soon. You should try building with rtmidi support to enable the internal MIDI system. Maybe I should make it a compulsory dependency?Andrés On Wed, Nov 13, 2013 at 3:29 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2013-11-13 23:46 |
From | Michael Gogins |
Subject | Re: [Cs-dev] CsoundQt not building on Windows |
Attachments | None None |
You should avoid complexity. If internal MIDI is usually desired, and if the source for it is always available, then it is simpler to make it a compulsory dependency. Regards, Mike
----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Nov 13, 2013 at 6:32 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
|
Date | 2013-11-13 23:56 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] CsoundQt not building on Windows |
Attachments | None None |
Yes, especially since now CsoundQt is designed to bypass Csound's MIDI modules. (You can still used them if you want, but it's simpler to use the internal MIDI). Cheers, Andrés On Wed, Nov 13, 2013 at 3:46 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
|