Csound Csound-dev Csound-tekno Search About

[Csnd] qutecsound compile problem

Date2009-01-31 14:45
FromDave Phillips
Subject[Csnd] qutecsound compile problem
Hi Andres,

I hit this snag when building the latest tarball :

Warning: name layoutWidget is already used
g++ -c -pipe -g -D_REENTRANT -Wall -W -DUSE_DOUBLE 
-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/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-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
qutecsound.cpp: In member function ‘void qutecsound::recordBuffer()’:
qutecsound.cpp:1029: error: no matching function for call to 
‘RingBuffer::copyAvailableBuffer(float [(((unsigned 
int)(((int)bufferSize) + -0x00000000000000001)) + 1)], int&)’
types.h:129: note: candidates are: bool 
RingBuffer::copyAvailableBuffer(double*, int)
qutecsound.cpp: In member function ‘void qutecsound::dispatchQueues()’:
qutecsound.cpp:1419: error: no matching function for call to 
‘Curve::set_data(double*&)’
curve.h:55: note: candidates are: void Curve::set_data(float*)
qutecsound.cpp: At global scope:
qutecsound.cpp:2673: warning: unused parameter ‘csound’
qutecsound.cpp:2733: warning: unused parameter ‘name’
qutecsound.cpp:2776: warning: unused parameter ‘csound’
qutecsound.cpp:2776: warning: unused parameter ‘windat’
make[1]: *** [qutecsound.o] Error 1
make[1]: Leaving directory `/home/dlphilp/src/qutecsound-0.4RC2/src'
make: *** [sub-src-make_default] Error 2


It's been building without problems on this system (Ubuntu 8.10) until 
this release. Any suggestions to fix it ?

Best,

dp


Date2009-01-31 16:12
FromRene Djack
Subject[Csnd] Re: qutecsound compile problem
Hi list,

I have the same error on Ububtu Hardy when i compile qutecsound-0.4RC2 for csound double.(with qmake "CONFIG += build64 release" and make)
It is ok when i compile qutecsound-0.4RC2 for csound float.(with qmake and make)

Regards
Djack


2009/1/31 Dave Phillips <dlphillips@woh.rr.com>
Hi Andres,

I hit this snag when building the latest tarball :

Warning: name layoutWidget is already used
g++ -c -pipe -g -D_REENTRANT -Wall -W -DUSE_DOUBLE -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/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -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
qutecsound.cpp: In member function 'void qutecsound::recordBuffer()':
qutecsound.cpp:1029: error: no matching function for call to 'RingBuffer::copyAvailableBuffer(float [(((unsigned int)(((int)bufferSize) + -0x00000000000000001)) + 1)], int&)'
types.h:129: note: candidates are: bool RingBuffer::copyAvailableBuffer(double*, int)
qutecsound.cpp: In member function 'void qutecsound::dispatchQueues()':
qutecsound.cpp:1419: error: no matching function for call to 'Curve::set_data(double*&)'
curve.h:55: note: candidates are: void Curve::set_data(float*)
qutecsound.cpp: At global scope:
qutecsound.cpp:2673: warning: unused parameter 'csound'
qutecsound.cpp:2733: warning: unused parameter 'name'
qutecsound.cpp:2776: warning: unused parameter 'csound'
qutecsound.cpp:2776: warning: unused parameter 'windat'
make[1]: *** [qutecsound.o] Error 1
make[1]: Leaving directory `/home/dlphilp/src/qutecsound-0.4RC2/src'
make: *** [sub-src-make_default] Error 2


It's been building without problems on this system (Ubuntu 8.10) until this release. Any suggestions to fix it ?

Best,

dp



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-02-02 00:21
FromAndres Cabrera
Subject[Csnd] Re: Re: qutecsound compile problem
Yes, right, the tarball won't build for doubles... I've uploaded a new
which should. However, there seem to be some problems with the doubles
version. I'd be grateful if someone who uses the doubles version can
troubleshoot.

Cheers,
Andrés

On Sat, Jan 31, 2009 at 11:12 AM, Rene Djack  wrote:
> Hi list,
>
> I have the same error on Ububtu Hardy when i compile qutecsound-0.4RC2 for
> csound double.(with qmake "CONFIG += build64 release" and make)
> It is ok when i compile qutecsound-0.4RC2 for csound float.(with qmake and
> make)
>
> Regards
> Djack
>
> 2009/1/31 Dave Phillips 
>>
>> Hi Andres,
>>
>> I hit this snag when building the latest tarball :
>>
>> Warning: name layoutWidget is already used
>> g++ -c -pipe -g -D_REENTRANT -Wall -W -DUSE_DOUBLE
>> -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/QtCore
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml
>> -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
>> qutecsound.cpp: In member function 'void qutecsound::recordBuffer()':
>> qutecsound.cpp:1029: error: no matching function for call to
>> 'RingBuffer::copyAvailableBuffer(float [(((unsigned int)(((int)bufferSize) +
>> -0x00000000000000001)) + 1)], int&)'
>> types.h:129: note: candidates are: bool
>> RingBuffer::copyAvailableBuffer(double*, int)
>> qutecsound.cpp: In member function 'void qutecsound::dispatchQueues()':
>> qutecsound.cpp:1419: error: no matching function for call to
>> 'Curve::set_data(double*&)'
>> curve.h:55: note: candidates are: void Curve::set_data(float*)
>> qutecsound.cpp: At global scope:
>> qutecsound.cpp:2673: warning: unused parameter 'csound'
>> qutecsound.cpp:2733: warning: unused parameter 'name'
>> qutecsound.cpp:2776: warning: unused parameter 'csound'
>> qutecsound.cpp:2776: warning: unused parameter 'windat'
>> make[1]: *** [qutecsound.o] Error 1
>> make[1]: Leaving directory `/home/dlphilp/src/qutecsound-0.4RC2/src'
>> make: *** [sub-src-make_default] Error 2
>>
>>
>> It's been building without problems on this system (Ubuntu 8.10) until
>> this release. Any suggestions to fix it ?
>>
>> Best,
>>
>> dp
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>



-- 


Andrés


Date2009-02-03 10:38
FromDave Phillips
Subject[Csnd] Re: Re: Re: qutecsound compile problem
Andres Cabrera wrote:
> Yes, right, the tarball won't build for doubles... I've uploaded a new
> which should. However, there seem to be some problems with the doubles
> version. I'd be grateful if someone who uses the doubles version can
> troubleshoot.
>   
Hi Andres,

Thanks for the fix. :)  I built and installed rc2b with no troubles on 
Ubuntu 8.10, but I haven't had time to put it through some tests. Are 
there any particular aspects you want me to check ?

Best,

dp