Re: [Qutecsound-users] MIDI control
Brought to you by:
mantaraya36
From: Andres C. <man...@gm...> - 2010-09-24 08:28:41
|
Hi, Can you try it now? I've made some changes in svn which might enable universal building. Cheers, Andrés On Thu, Sep 23, 2010 at 8:58 PM, Andres Cabrera <man...@gm...> wrote: > Hmm. I'll have to take at look when I'm back at my OS X machine > (haven't been there for a while...). What you can do for now is build > QuteCsound only for intel, and then it should work. > > Cheers, > Andres > > On Thu, Sep 23, 2010 at 6:56 PM, joachim heintz <jh...@jo...> wrote: >> thanks. this worked now, but the configure script failed: >> >> >> >> Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable- >> checking -enable-werror --prefix=/usr --mandir=/share/man --enable- >> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ >> $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ >> lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- >> host=i686-apple-darwin9 --target=i686-apple-darwin9 >> Thread model: posix >> gcc version 4.0.1 (Apple Inc. build 5490) >> configure:1891: $? = 0 >> configure:1898: g++ -V >&5 >> g++-4.0: argument to `-V' is missing >> configure:1901: $? = 1 >> configure:1924: checking for C++ compiler default output file name >> configure:1951: g++ -arch ppc -arch intel conftest.cpp >&5 >> g++-4.0: Invalid arch name : intel >> << >> >> i replaced "intel" by "i386". this worked, but now the problem is: >> >> >> >> configure:3046: checking how to run the C preprocessor >> configure:3086: gcc -E -arch ppc -arch i386 conftest.c >> gcc-4.0: -E, -S, -save-temps and -M options are not allowed with >> multiple -arch flags >> << >> >> mmmmmh ... >> >> i am on your further service ... >> >> =) >> >> j >> >> >> Am 23.09.2010 um 18:43 schrieb Andres Cabrera: >> >>> Hi, >>> >>> Sorry. It should be: >>> export CPPFLAGS="-arch ppc -arch intel" >>> >>> Cheers, >>> Andrés >>> >>> On Thu, Sep 23, 2010 at 3:57 PM, joachim heintz >>> <jh...@jo...> wrote: >>>> hi andrés - >>>> >>>> my result is now: >>>> export CPPFLAGS=-arch ppc -arch intel >>>> -bash: export: `-arch': not a valid identifier >>>> >>>> ciao - >>>> >>>> j >>>> >>>> >>>> Am 23.09.2010 um 08:42 schrieb Andres Cabrera: >>>> >>>>> Hi, >>>>> >>>>> Yes, the problem is you are building universal QuteCsound but rtmidi >>>>> was built for Intel only (which is the default). >>>>> >>>>> Run the following line in the terminal prior to building RtMidi, and >>>>> hopefully it will be built universal: >>>>> export CPPFLAGS=-arch ppc -arch intel >>>>> >>>>> Cheers, >>>>> Andrés >>>>> >>>>> On Wed, Sep 22, 2010 at 9:03 PM, joachim heintz >>>>> <jh...@jo...> wrote: >>>>>> hi andrés - >>>>>> >>>>>> i was very curious and tried it, but i get the following error: >>>>>> >>>>>> >> >>>>>> ld warning: in ../../../rtmidi-1.0.11/tests/Release/RtMidi.o, >>>>>> file is >>>>>> not of required architecture >>>>>> Undefined symbols for architecture ppc: >>>>>> "RtMidiIn::~RtMidiIn()", referenced from: >>>>>> ConfigDialog::ConfigDialog(qutecsound*, Options*)in >>>>>> configdialog.o >>>>>> ConfigDialog::ConfigDialog(qutecsound*, Options*)in >>>>>> configdialog.o >>>>>> "RtMidiIn::cancelCallback()", referenced from: >>>>>> qutecsound::openMidiPort(int) in qutecsound.o >>>>>> qutecsound::changePage(int) in qutecsound.o >>>>>> "RtMidiIn::getPortCount()", referenced from: >>>>>> ConfigDialog::ConfigDialog(qutecsound*, Options*)in >>>>>> configdialog.o >>>>>> "RtMidiIn::RtMidiIn(std::basic_string<char, >>>>>> std::char_traits<char>, >>>>>> std::allocator<char> >)", referenced from: >>>>>> ConfigDialog::ConfigDialog(qutecsound*, Options*)in >>>>>> configdialog.o >>>>>> qutecsound::openMidiPort(int) in qutecsound.o >>>>>> "RtMidiIn::setCallback(void (*)(double, std::vector<unsigned >>>>>> char, >>>>>> std::allocator<unsigned char> >*, void*), void*)", referenced from: >>>>>> qutecsound::openMidiPort(int) in qutecsound.o >>>>>> qutecsound::changePage(int) in qutecsound.o >>>>>> "RtMidiIn::getPortName(unsigned int)", referenced from: >>>>>> ConfigDialog::ConfigDialog(qutecsound*, Options*)in >>>>>> configdialog.o >>>>>> ld: symbol(s) not found for architecture ppc >>>>>> collect2: ld returned 1 exit status >>>>>> Undefined symbols for architecture i386: >>>>>> "_MIDIClientDispose", referenced from: >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_CFRelease", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> RtMidiIn::getPortName(unsigned int)in RtMidi.o >>>>>> RtMidiOut::getPortName(unsigned int)in RtMidi.o >>>>>> "_MIDIDestinationCreate", referenced from: >>>>>> RtMidiIn::openVirtualPort(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_CFStringGetLength", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_MIDIPacketListInit", referenced from: >>>>>> RtMidiOut::sendMessage(std::vector<unsigned char, >>>>>> std::allocator<unsigned char> >*)in RtMidi.o >>>>>> "_MIDISend", referenced from: >>>>>> RtMidiOut::sendMessage(std::vector<unsigned char, >>>>>> std::allocator<unsigned char> >*)in RtMidi.o >>>>>> "_MIDIObjectFindByUniqueID", referenced from: >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_MIDIEndpointDispose", referenced from: >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> "_MIDIDeviceGetNumberOfEntities", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_MIDIEndpointGetEntity", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_MIDIOutputPortCreate", referenced from: >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_CFStringGetCString", referenced from: >>>>>> RtMidiIn::getPortName(unsigned int)in RtMidi.o >>>>>> RtMidiOut::getPortName(unsigned int)in RtMidi.o >>>>>> "_MIDIObjectGetDataProperty", referenced from: >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_MIDISourceCreate", referenced from: >>>>>> RtMidiOut::openVirtualPort(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_MIDIPortDispose", referenced from: >>>>>> RtMidiIn::closePort() in RtMidi.o >>>>>> RtMidiOut::closePort() in RtMidi.o >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiOut::~RtMidiOut()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> RtMidiIn::~RtMidiIn()in RtMidi.o >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_CFStringCreateMutable", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_AudioGetCurrentHostTime", referenced from: >>>>>> RtMidiOut::sendMessage(std::vector<unsigned char, >>>>>> std::allocator<unsigned char> >*)in RtMidi.o >>>>>> "_CFStringInsert", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_CFStringAppend", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_CFDataGetLength", referenced from: >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_kMIDIPropertyConnectionUniqueID", referenced from: >>>>>> _kMIDIPropertyConnectionUniqueID$non_lazy_ptr in RtMidi.o >>>>>> "_MIDIGetDestination", referenced from: >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiOut::getPortName(unsigned int)in RtMidi.o >>>>>> "___CFConstantStringClassReference", referenced from: >>>>>> cfstring= in RtMidi.o >>>>>> cfstring=, in RtMidi.o >>>>>> "_MIDIEntityGetDevice", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_MIDIInputPortCreate", referenced from: >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_MIDIGetNumberOfSources", referenced from: >>>>>> RtMidiIn::getPortCount() in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::getPortName(unsigned int)in RtMidi.o >>>>>> "_kMIDIPropertyName", referenced from: >>>>>> _kMIDIPropertyName$non_lazy_ptr in RtMidi.o >>>>>> "_MIDIReceived", referenced from: >>>>>> RtMidiOut::sendMessage(std::vector<unsigned char, >>>>>> std::allocator<unsigned char> >*)in RtMidi.o >>>>>> "_CFDataGetBytePtr", referenced from: >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_MIDIPortConnectSource", referenced from: >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_MIDIGetSource", referenced from: >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::getPortName(unsigned int)in RtMidi.o >>>>>> "_CFStringCreateWithCString", referenced from: >>>>>> RtMidiOut::openVirtualPort(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiOut::initialize(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> > const&)in RtMidi.o >>>>>> RtMidiIn::openVirtualPort(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::initialize(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> > const&)in RtMidi.o >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiIn::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> "_MIDIGetNumberOfDestinations", referenced from: >>>>>> RtMidiOut::getPortCount() in RtMidi.o >>>>>> RtMidiOut::openPort(unsigned int, std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> >)in RtMidi.o >>>>>> RtMidiOut::getPortName(unsigned int)in RtMidi.o >>>>>> "_CFStringCompareWithOptions", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> "_MIDIPacketListAdd", referenced from: >>>>>> RtMidiOut::sendMessage(std::vector<unsigned char, >>>>>> std::allocator<unsigned char> >*)in RtMidi.o >>>>>> "_AudioConvertHostTimeToNanos", referenced from: >>>>>> midiInputCallback(MIDIPacketList const*, void*, void*)in >>>>>> RtMidi.o >>>>>> "_MIDIObjectGetStringProperty", referenced from: >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> EndpointName(OpaqueMIDIEndpoint*, bool) in RtMidi.o >>>>>> ConnectedEndpointName(OpaqueMIDIEndpoint*) in RtMidi.o >>>>>> "_MIDIClientCreate", referenced from: >>>>>> RtMidiOut::initialize(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> > const&)in RtMidi.o >>>>>> RtMidiIn::initialize(std::basic_string<char, >>>>>> std::char_traits<char>, std::allocator<char> > const&)in RtMidi.o >>>>>> ld: symbol(s) not found for architecture i386 >>>>>> collect2: ld returned 1 exit status >>>>>> lipo: can't open input file: /var/folders/mk/ >>>>>> mkpuhjKkEj0EgPnHdD3w0+++ >>>>>> +TI/-Tmp-//ccUFdMS0.out (No such file or directory) >>>>>> make: *** [bin/qutecsound-f.app/Contents/MacOS/qutecsound-f] >>>>>> Error 1 >>>>>> logout >>>>>> << >>>>>> >>>>>> my build options are: >>>>>> qmake -spec macx-g++ CONFIG+=release CONFIG+=pythonqt CONFIG >>>>>> +=rtmidi >>>>>> qcs.pro >>>>>> >>>>>> any idea what is going wrong? >>>>>> >>>>>> ciaociao - >>>>>> >>>>>> joachim >>>>>> >>>>>> >>>>>> >>>>>> Am 22.09.2010 um 21:32 schrieb Andres Cabrera: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I just wanted to let people who build from source know that I've >>>>>>> now >>>>>>> added support for MIDI control for widgets. You will need RtMidi >>>>>>> from: >>>>>>> http://www.music.mcgill.ca/~gary/rtmidi/ >>>>>>> And build the tests for it by entering the tests directory and >>>>>>> building using make. >>>>>>> Then you need to add the line CONFIG+=rtmidi to your qmake line, >>>>>>> and >>>>>>> build QCS. >>>>>>> >>>>>>> You can select the MIDI interface to listen to on the >>>>>>> Configuration >>>>>>> dialog (it's not the same box as the MIDI interface for Csound). >>>>>>> >>>>>>> I've only tested on Linux, so it would be great to get some >>>>>>> reports >>>>>>> from other platforms. >>>>>>> >>>>>>> Cheers, >>>>>>> Andrés >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Start uncovering the many advantages of virtual appliances >>>>>>> and start using them to simplify application deployment and >>>>>>> accelerate your shift to cloud computing. >>>>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>>>> _______________________________________________ >>>>>>> Qutecsound-users mailing list >>>>>>> Qut...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Start uncovering the many advantages of virtual appliances >>>>>> and start using them to simplify application deployment and >>>>>> accelerate your shift to cloud computing. >>>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>>> _______________________________________________ >>>>>> Qutecsound-users mailing list >>>>>> Qut...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> Andrés >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Start uncovering the many advantages of virtual appliances >>>>> and start using them to simplify application deployment and >>>>> accelerate your shift to cloud computing. >>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>> _______________________________________________ >>>>> Qutecsound-users mailing list >>>>> Qut...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Nokia and AT&T present the 2010 Calling All Innovators-North >>>> America contest >>>> Create new apps & games for the Nokia N8 for consumers in U.S. and >>>> Canada >>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>>> marketing >>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi >>>> Store >>>> http://p.sf.net/sfu/nokia-dev2dev >>>> _______________________________________________ >>>> Qutecsound-users mailing list >>>> Qut...@li... >>>> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >>>> >>> >>> >>> >>> -- >>> >>> >>> Andrés >>> >>> ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>> contest >>> Create new apps & games for the Nokia N8 for consumers in U.S. and >>> Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>> marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi >>> Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> Qutecsound-users mailing list >>> Qut...@li... >>> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >> >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Qutecsound-users mailing list >> Qut...@li... >> https://lists.sourceforge.net/lists/listinfo/qutecsound-users >> > > > > -- > > > Andrés > -- Andrés |