Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Failure to compile

Date2006-12-08 15:13
FromMichael Gogins
SubjectRe: [Cs-dev] Failure to compile
I think the very latest sources fix this. If not, remove VoiceLeadingNode.cpp from SConstruct.

Regards,
Mike

-----Original Message-----
>From: jpff 
>Sent: Dec 8, 2006 3:28 AM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] Failure to compile
>
>this morning due to the following.  Has the class name changed
>partially?  C++ is not my thing, but it is stopping me building at
>present.
>
>
>g++ -fexceptions -Wall -g -gstabs -O2 -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -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 -Iinterfaces -I/usr/include/python2.4 -I/usr/local/include/python2.4 -c -o frontends/CsoundVST/VoiceleadingNode.os frontends/CsoundVST/VoiceleadingNode.cpp
>In file included from frontends/CsoundVST/VoiceleadingNode.cpp:22:
>frontends/CsoundVST/VoiceleadingNode.hpp:50: error: ISO C++ forbids declaration 
>   of `VoiceLeading' with no type
>frontends/CsoundVST/VoiceleadingNode.hpp:51: error: destructor `VoiceLeading' 
>   must match class name `VoiceleadingOperation'
>frontends/CsoundVST/VoiceleadingNode.cpp:35: error: definition of 
>   implicitly-declared `csound::VoiceleadingOperation::VoiceleadingOperation()'
>frontends/CsoundVST/VoiceleadingNode.cpp: In constructor `
>   csound::VoiceleadingOperation::VoiceleadingOperation()':
>frontends/CsoundVST/VoiceleadingNode.cpp:38: warning: division by zero in `0.0 
>   / 0.'
>frontends/CsoundVST/VoiceleadingNode.cpp:39: warning: division by zero in `0.0 
>   / 0.'
>frontends/CsoundVST/VoiceleadingNode.cpp:40: error: class `
>   csound::VoiceleadingOperation' does not have any field named `N'
>frontends/CsoundVST/VoiceleadingNode.cpp:40: warning: division by zero in `0.0 
>   / 0.'
>frontends/CsoundVST/VoiceleadingNode.cpp:41: warning: division by zero in `0.0 
>   / 0.'
>frontends/CsoundVST/VoiceleadingNode.cpp:44: error: class `
>   csound::VoiceleadingOperation' does not have any field named `begin'
>frontends/CsoundVST/VoiceleadingNode.cpp:45: error: class `
>   csound::VoiceleadingOperation' does not have any field named `end'
>frontends/CsoundVST/VoiceleadingNode.cpp: At global scope:
>frontends/CsoundVST/VoiceleadingNode.cpp:65: error: prototype for `void 
>   csound::VoiceleadingNode::apply(csound::Score&, const 
>   csound::VoiceleadingOperation&, const csound::VoiceleadingOperation&, 
>   double)' does not match any in class `csound::VoiceleadingNode'
>frontends/CsoundVST/VoiceleadingNode.hpp:98: error: candidate is: virtual void 
>   csound::VoiceleadingNode::apply(csound::Score&, const 
>   csound::VoiceleadingOperation&, const csound::VoiceleadingOperation&)
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `void 
>   csound::VoiceleadingNode::apply(csound::Score&, const 
>   csound::VoiceleadingOperation&, const csound::VoiceleadingOperation&, 
>   double)':
>frontends/CsoundVST/VoiceleadingNode.cpp:66: warning: unused variable `size_t 
>   begin'
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `virtual void 
>   csound::VoiceleadingNode::produceOrTransform(csound::Score&, unsigned int, 
>   unsigned int, const boost::numeric::ublas::matrix   boost::numeric::ublas::row_major, 
>   boost::numeric::ublas::unbounded_array > >&)
>   ':
>frontends/CsoundVST/VoiceleadingNode.cpp:81: error: `score' undeclared (first 
>   use this function)
>frontends/CsoundVST/VoiceleadingNode.cpp:81: error: (Each undeclared identifier 
>   is reported only once for each function it appears in.)
>frontends/CsoundVST/VoiceleadingNode.cpp:81: error: syntax error before `::' 
>   token
>frontends/CsoundVST/VoiceleadingNode.cpp:84: error: invalid use of `
>   std::map, 
>   std::allocator > 
>   >::iterator'
>frontends/CsoundVST/VoiceleadingNode.cpp:84: error: syntax error before `=' 
>   token
>frontends/CsoundVST/VoiceleadingNode.cpp:84: error: `it' undeclared (first use 
>   this function)
>frontends/CsoundVST/VoiceleadingNode.cpp:88: error: conversion from `
>   std::pair' to non-scalar type `
>   csound::VoiceleadingOperation' requested
>frontends/CsoundVST/VoiceleadingNode.cpp:89: error: invalid use of `
>   std::map, 
>   std::allocator > 
>   >::const_iterator'
>frontends/CsoundVST/VoiceleadingNode.cpp:89: error: syntax error before `=' 
>   token
>frontends/CsoundVST/VoiceleadingNode.cpp:76: warning: unused variable `double 
>   timeMinimum'
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `virtual void 
>   csound::VoiceleadingNode::PTL(double, double, double, bool)':
>frontends/CsoundVST/VoiceleadingNode.cpp:113: error: 'class 
>   csound::VoiceleadingOperation' has no member named 'avoidParallels'
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `virtual void 
>   csound::VoiceleadingNode::SV(double, std::basic_string   std::char_traits, std::allocator >, double)':
>frontends/CsoundVST/VoiceleadingNode.cpp:134: error: 'class csound::Conversions
>   ' has no member named 'chordToNumber'
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `virtual void 
>   csound::VoiceleadingNode::SL(double, double, bool)':
>frontends/CsoundVST/VoiceleadingNode.cpp:142: error: 'class 
>   csound::VoiceleadingOperation' has no member named 'avoidParallels'
>frontends/CsoundVST/VoiceleadingNode.cpp: In member function `virtual void 
>   csound::VoiceleadingNode::L(double, bool)':
>frontends/CsoundVST/VoiceleadingNode.cpp:158: error: 'class 
>   csound::VoiceleadingOperation' has no member named 'avoidParallels'
>scons: *** [frontends/CsoundVST/VoiceleadingNode.os] Error 1
>scons: building terminated because of errors.
>make: *** [all] Error 2
>
>==John ffitch
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net