Csound Csound-dev Csound-tekno Search About

[Cs-dev] CsoundQt not building on Windows

Date2013-11-13 23:29
FromMichael Gogins
Subject[Cs-dev] CsoundQt not building on Windows
AttachmentsNone  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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-11-13 23:32
FromAndres Cabrera
SubjectRe: [Cs-dev] CsoundQt not building on Windows
AttachmentsNone  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?

Cheers,
Andrés


On Wed, Nov 13, 2013 at 3:29 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-11-13 23:46
FromMichael Gogins
SubjectRe: [Cs-dev] CsoundQt not building on Windows
AttachmentsNone  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 Gogins
Irreducible 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:
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?

Cheers,
Andrés


On Wed, Nov 13, 2013 at 3:29 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-11-13 23:56
FromAndres Cabrera
SubjectRe: [Cs-dev] CsoundQt not building on Windows
AttachmentsNone  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:
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 Gogins
Irreducible 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:
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?

Cheers,
Andrés


On Wed, Nov 13, 2013 at 3:29 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel