| OK, I rebuilt after updating from subversion with your stock qcs.pro,
straight out of the box, with RtMidi and without PythonQt.
My directions now read:
Build the release version of qutecsound-d.exe from
http://qutecsound.sourceforge.net/ using QtCreator as follows. You
will probably have to do something like this to work around a bug in
qmake: Move C:/utah/opt/Qt/2010.05/qt/bin/uic.exe to
C:/utah/opt/Qt/2010.05/qt/binuic.exe; move
C:/utah/opt/Qt/2010.05/qt/bin/moc.exe to
C:/utah/opt/Qt/2010.05/qt/binmoc.exe; move
C:/utah/opt/Qt/2010.05/qt/bin/idc.exe to
C:/utah/opt/Qt/2010.05/qt/binidc.exe. Copy all includes and sources
from the Synthesis Toolkit in C++ to an stk directory in the
qutecsound directory. In QtCreator, load qcs.pro, then in Projects
mode, in the Build Settings tab, in the Build Steps group, in the
Additional arguments field, paste something like the following
options, then in the Build menu, execute Clean All, Run qmake, and
Rebuild All.
CONFIG+=build64 CONFIG+=rtmidi
CSOUND_SOURCE_TREE=D:/utah/home/mkg/csound/head
CSOUND_LIBRARY_DIR=D:/utah/home/mkg/csound/head
LIBSNDFILE_INCLUDE_DIR=C:/utah/opt/Mega-Nerd/libsndfile/include
LIBSNDFILE_LIBRARY_DIR=C:/utah/opt/Mega-Nerd/libsndfile
PYTHON_INCLUDE_DIR=C:/utah/opt/Python27/include RTMIDI_DIR=stk
I will now be building the Csound manual and testing Csound, CsoundAC,
and QuteCsound. When that is done, I will post the release.
Thanks,
Mike
On Wed, Jan 26, 2011 at 1:14 PM, Andres Cabrera wrote:
> Thanks!
>
> Cheers,
> Andres
>
> On Wed, Jan 26, 2011 at 1:47 PM, Michael Gogins
> wrote:
>> Ok, thanks. I think we're good to go.
>>
>> I will try to rebuild without PythonQt with my options put into
>> QtCreator as you suggest instead of in qcs.pro. That will make it more
>> "out of the box" and easier for me to write up in my document about
>> building Csound on Windows.
>>
>> I expect to complete the Csound Windows installer, with RtMidi but
>> without PythonQt, before next week.
>>
>> Regards,
>> Mike
>>
>> On Wed, Jan 26, 2011 at 8:21 AM, Andres Cabrera wrote:
>>> Hi Michael,
>>>
>>> If you are using QtCreator you can also go into the projects section
>>> (icon on the left) and add the options there.
>>>
>>> You can still run python scripts as before if PythonQt is not enabled
>>> in the build. The script is only passed to the built in interpreter if
>>> it is available.
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Wed, Jan 26, 2011 at 1:17 PM, Michael Gogins
>>> wrote:
>>>> I wasn't using the command line, hence adding the options. This is not
>>>> a big issue, I wasn't asking you to do something, just giving you
>>>> information in case you could use it.
>>>>
>>>> I will omit PythonQt from the build for the reason you cite -- as long
>>>> as I can still run Python scripts from QuteCsound. Otherwise, we will
>>>> need to do something.
>>>>
>>>> Thanks,
>>>> Mike
>>>>
>>>>
>>>>
>>>> On Wed, Jan 26, 2011 at 3:18 AM, Andres Cabrera wrote:
>>>>> Hi Michael,
>>>>>
>>>>> Thanks for the work. The QuteCsound configure script should find
>>>>> RtMidi and PythonQt without having to give their paths if they are
>>>>> placed side by side with the QuteCsound sources.
>>>>>
>>>>> Also you don't really need to add the things you mention at the top of
>>>>> qcs.pro, you can add them to the qmake command line. That way the
>>>>> qcs.pro is still platform neutral.
>>>>> I'll add the linking to winmm for windows. I wasn't aware this was
>>>>> necessary. Can you update to svn and check that it now builds out of
>>>>> the box?
>>>>>
>>>>> To use RtMidi, you need to set the MIDI interface you want to use in
>>>>> the configuration dialog. Notice that it is located in a different
>>>>> place that the interface to use with Csound. Once you've set it, you
>>>>> can go into a widgets preferences and select MIDI channel and
>>>>> controller number and the widget will move according to the data from
>>>>> the MIDI interface.
>>>>>
>>>>> I'm also thinking it might be better to distribute QuteCsound without
>>>>> python for the version bundled with QuteCsound. Otherwise we'll run
>>>>> into the whole missinf python2.6.dll business...
>>>>>
>>>>> Cheers,
>>>>> Andres
>>>>>
>>>>> On Wed, Jan 26, 2011 at 2:44 AM, Michael Gogins
>>>>> wrote:
>>>>>> I just now rebuilt QuteCsound for Windows with RtMidi enabled (I
>>>>>> think). How does one use it?
>>>>>>
>>>>>> Anyway, this is what I did to build:
>>>>>>
>>>>>> A. (Done) Build the release version of qutecsound-d-py.exe from
>>>>>> http://qutecsound.sourceforge.net/ using QtCreator. You will have to
>>>>>> fix up libs and paths for the PythonQt project, and build that, first.
>>>>>> At the top of qcs.pro add:
>>>>>> CONFIG+=pythonqt
>>>>>> CONFIG+=rtmidi
>>>>>> CONFIG+=build64
>>>>>> CSOUND_SOURCE_TREE = D:/utah/home/mkg/csound/head
>>>>>> CSOUND_LIBRARY_DIR = D:/utah/home/mkg/csound/head
>>>>>> LIBSNDFILE_INCLUDE_DIR = C:/utah/opt/Mega-Nerd/libsndfile/include
>>>>>> LIBSNDFILE_LIBRARY_DIR = C:/utah/opt/Mega-Nerd/libsndfile
>>>>>> PYTHON_INCLUDE_DIR = C:/utah/opt/Python27/include
>>>>>> PYTHONQT_TREE_DIR = C:/utah/opt/PythonQt2.0.1
>>>>>> RTMIDI_DIR = stk
>>>>>>
>>>>>> A the bottom of qcs.pro add LIBS += -lwinmm.
>>>>>> Copy all includes and sources from the Synthesis Toolkit in C++ to an
>>>>>> stk directory in the qutecsound directory. You will also probably have
>>>>>> to do something like this to work around a bug in qmake:
>>>>>> C:/utah/opt/Qt/2010.05/qt/bin/uic.exe move to
>>>>>> C:/utah/opt/Qt/2010.05/qt/binuic.exe
>>>>>> C:/utah/opt/Qt/2010.05/qt/bin/moc.exe move to
>>>>>> C:/utah/opt/Qt/2010.05/qt/binmoc.exe
>>>>>> C:/utah/opt/Qt/2010.05/qt/bin/idc.exe move to
>>>>>> C:/utah/opt/Qt/2010.05/qt/binidc.exe
>>>>>>
>>>>>> Then clean all, run qmake, and build all.
>>>>>>
>>>>>> --
>>>>>> Michael Gogins
>>>>>> Irreducible Productions
>>>>>> http://www.michael-gogins.com
>>>>>> Michael dot Gogins at gmail dot com
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>>>>> Finally, a world-class log management solution at an even better price-free!
>>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>>>>> February 28th, so secure your free ArcSight Logger TODAY!
>>>>>> http://p.sf.net/sfu/arcsight-sfd2d
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>>>> Finally, a world-class log management solution at an even better price-free!
>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>>>> February 28th, so secure your free ArcSight Logger TODAY!
>>>>> http://p.sf.net/sfu/arcsight-sfd2d
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>>> Finally, a world-class log management solution at an even better price-free!
>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>>> February 28th, so secure your free ArcSight Logger TODAY!
>>>> http://p.sf.net/sfu/arcsight-sfd2d
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>> Finally, a world-class log management solution at an even better price-free!
>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>> February 28th, so secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsight-sfd2d
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |