Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Csound 5 status

Date2005-08-29 17:55
FromMichael Gogins
SubjectRe: [Csnd] Csound 5 status
Thanks for the information. Since I will have to try to compile CsoundVST with gcc on the Mac, maybe I will be able to fix your problem on Linux also.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Aug 29, 2005 10:48 AM
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] Csound 5 status

Anthony Kozar wrote:

> Apple's own statistics last June indicated about 50% of users still using
> 10.2 ("Jaguar") and 5% using 10.1 or older.  I forget the number still using
> 10.3 ("Panther") but probably 25-30%.
> 
> Do you really want to limit the availability of CsoundVST to maybe only 20%
> of current OS X users?  I assume since gcc4 is new that CsoundVST used to
> compile with a version of Boost that did not require it ...

Actually, CsoundVST does not seem to compile with GCC 4 at all, at least not
on Linux with GCC 4.0.0. Maybe the Mac version of the compiler is different
- not unlikely - or I need to upgrade to 4.0.1 (but I prefer waiting for 4.1)
assuming it fixes some bugs responsible for breaking the CsoundVST build, but
for now I can only compile CsoundVST with GCC 3. The rest of the Csound source
code builds fine with either compiler version, without even any warnings other
than the usual one at link time related to the use of "tmpnam".
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk



-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-08-29 18:12
FromIstvan Varga
SubjectRe: [Csnd] Csound 5 status
Michael Gogins wrote:

> Thanks for the information. Since I will have to try to compile CsoundVST
 > with gcc on the Mac, maybe I will be able to fix your problem on Linux also.

If it is of some help, here is the file that fails (I have boost-1.31.0,
swig-1.3.21, and python-2.3.4; it is possible that in fact one of these
packages is responsible for the error):

/usr/local/gcc-4.0.0/bin/g++ -DCSOUND_WITH_API -fexceptions -O2 -DUSE_LRINT -DCSOUND_WITH_API -g -O2 -march=pentium3 
-mfpmath=387 -mno-sse -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H 
-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -Wall -O2 
-march=i686 -mcpu=pentium3 -Wall -O2 -march=i686 -mcpu=pentium3 -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH 
-I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -I/usr/local/include 
-I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -Ifrontends/CsoundVST -I/usr/include/python2.3 -c -o 
frontends/CsoundVST/CounterpointNode.os frontends/CsoundVST/CounterpointNode.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from /usr/include/boost/config.hpp:35,
                  from /usr/include/boost/numeric/ublas/config.hpp:23,
                  from /usr/include/boost/numeric/ublas/vector.hpp:20,
                  from frontends/CsoundVST/Event.hpp:46,
                  from frontends/CsoundVST/Score.hpp:35,
                  from frontends/CsoundVST/Node.hpp:36,
                  from frontends/CsoundVST/CounterpointNode.hpp:38,
                  from frontends/CsoundVST/CounterpointNode.cpp:2:
/usr/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning "Unknown compiler version - please run the configure 
tests and report the results"
/usr/include/boost/numeric/ublas/matrix.hpp: In instantiation of 'double boost::numeric::ublas::zero_matrix::zero_':
/usr/include/boost/numeric/ublas/matrix.hpp:2480:   instantiated from 'typename 
boost::numeric::ublas::type_traits::const_reference boost::numeric::ublas::zero_matrix::operator()(size_t, size_t) 
const [with T = double]'
/usr/include/boost/numeric/ublas/matrix_assign.hpp:457:   instantiated from 'void 
boost::numeric::ublas::indexing_matrix_assign(F, M&, const boost::numeric::ublas::matrix_expression&, 
boost::numeric::ublas::row_major_tag) [with F = boost::numeric::ublas::scalar_assign, M = 
boost::numeric::ublas::matrix 
 >, E = boost::numeric::ublas::zero_matrix]'
/usr/include/boost/numeric/ublas/matrix_assign.hpp:789:   instantiated from 'void 
boost::numeric::ublas::matrix_assign(F, M&, const boost::numeric::ublas::matrix_expression&, 
boost::numeric::ublas::full, boost::numeric::ublas::sparse_tag, boost::numeric::ublas::row_major_tag) [with F = 
boost::numeric::ublas::scalar_assign, M = boost::numeric::ublas::matrix >, E = 
boost::numeric::ublas::zero_matrix]'
/usr/include/boost/numeric/ublas/matrix_assign.hpp:1301:   instantiated from 'void 
boost::numeric::ublas::matrix_assign(F, M&, const boost::numeric::ublas::matrix_expression&) [with F = 
boost::numeric::ublas::scalar_assign, M = boost::numeric::ublas::matrix >, E = 
boost::numeric::ublas::zero_matrix]'
/usr/include/boost/numeric/ublas/matrix.hpp:172:   instantiated from 'boost::numeric::ublas::matrix& 
boost::numeric::ublas::matrix::assign(const boost::numeric::ublas::matrix_expression&) [with AE = 
boost::numeric::ublas::zero_matrix, T = double, F = boost::numeric::ublas::row_major, A = 
boost::numeric::ublas::unbounded_array]'
/usr/include/boost/numeric/ublas/operation.hpp:607:   instantiated from 'M& boost::numeric::ublas::axpy_prod(const 
boost::numeric::ublas::matrix_expression&, const boost::numeric::ublas::matrix_expression&, M&, bool) [with M = 
boost::numeric::ublas::matrix 
 >, E1 = boost::numeric::ublas::matrix >, E2 = boost::numeric::ublas::matrix >]'
frontends/CsoundVST/CounterpointNode.cpp:121:   instantiated from here
/usr/include/boost/numeric/ublas/matrix.hpp:2863: error: dependent-name 
'boost::numeric::ublas::zero_matrix::value_type' is parsed as a non-type, but instantiation yields a type
/usr/include/boost/numeric/ublas/matrix.hpp:2863: note: say 'typename boost::numeric::ublas::zero_matrix::value_type' 
if a type is meant
/usr/include/boost/numeric/ublas/vector.hpp: In instantiation of 'double boost::numeric::ublas::zero_vector::zero_':
/usr/include/boost/numeric/ublas/vector.hpp:867:   instantiated from 'typename 
boost::numeric::ublas::type_traits::const_reference boost::numeric::ublas::zero_vector::operator()(size_t) const 
[with T = double]'
/usr/include/boost/numeric/ublas/vector_assign.hpp:250:   instantiated from 'void 
boost::numeric::ublas::indexing_vector_assign(F, V&, const boost::numeric::ublas::vector_expression&) [with F = 
boost::numeric::ublas::scalar_assign, V = boost::numeric::ublas::vector >, E = boost::numeric::ublas::zero_vector]'
/usr/include/boost/numeric/ublas/vector_assign.hpp:349:   instantiated from 'void 
boost::numeric::ublas::vector_assign(F, V&, const boost::numeric::ublas::vector_expression&, 
boost::numeric::ublas::sparse_tag) [with F = boost::numeric::ublas::scalar_assign, V = 
boost::numeric::ublas::vector >, E = 
boost::numeric::ublas::zero_vector]'
/usr/include/boost/numeric/ublas/vector_assign.hpp:462:   instantiated from 'void 
boost::numeric::ublas::vector_assign(F, V&, const boost::numeric::ublas::vector_expression&) [with F = 
boost::numeric::ublas::scalar_assign, V = boost::numeric::ublas::vector >, E = boost::numeric::ublas::zero_vector]'
/usr/include/boost/numeric/ublas/vector.hpp:168:   instantiated from 'boost::numeric::ublas::vector& 
boost::numeric::ublas::vector::assign(const boost::numeric::ublas::vector_expression&) [with AE = 
boost::numeric::ublas::zero_vector, T = double, A = boost::numeric::ublas::unbounded_array]'
/usr/include/boost/numeric/ublas/operation.hpp:197:   instantiated from 'V& boost::numeric::ublas::axpy_prod(const 
boost::numeric::ublas::matrix_expression&, const boost::numeric::ublas::vector_expression&, V&, bool) [with V = 
csound::Event, E1 = boost::numeric::ublas::matrix >, E2 = boost::numeric::ublas::vector >]'
frontends/CsoundVST/CounterpointNode.cpp:125:   instantiated from here
/usr/include/boost/numeric/ublas/vector.hpp:1018: error: dependent-name 
'boost::numeric::ublas::zero_vector::value_type' is parsed as a non-type, but instantiation yields a type
/usr/include/boost/numeric/ublas/vector.hpp:1018: note: say 'typename boost::numeric::ublas::zero_vector::value_type' 
if a type is meant
scons: *** [frontends/CsoundVST/CounterpointNode.os] Error 1
scons: building terminated because of errors.
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk