STK code

View: New views
3 Messages — Rating Filter:   Alert me  

STK code

by john ffitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am attempting to build with version 4.4.1 and it fails

In Csoudn fails in BowTable.cpp
In file included from Opcodes/stk/include/Function.h:4,
                 from Opcodes/stk/include/BowTable.h:4,
                 from Opcodes/stk/src/BowTable.cpp:12:
Opcodes/stk/include/Stk.h:524:1: warning: "__OS_LINUX__" redefined
<command-line>: warning: this is the location of the previous definition
Opcodes/stk/include/Stk.h:525:1: warning: "__STK_REALTIME__" redefined
<command-line>: warning: this is the location of the previous definition
Opcodes/stk/src/BowTable.cpp:15: error: ‘BowTable’ has not been declared
Opcodes/stk/src/BowTable.cpp:15: error: ISO C++ forbids declaration of ‘BowTable’ with no type
Opcodes/stk/src/BowTable.cpp: In function ‘int BowTable()’:
Opcodes/stk/src/BowTable.cpp:17: error: ‘offset_’ was not declared in this scope
Opcodes/stk/src/BowTable.cpp:17: error: ‘StkFloat’ was not declared in this scope
Opcodes/stk/src/BowTable.cpp:17: error: expected `;' before numeric constant
Opcodes/stk/src/BowTable.cpp:18: error: ‘slope_’ was not declared in this scope
Opcodes/stk/src/BowTable.cpp:18: error: expected `;' before numeric constant
Opcodes/stk/src/BowTable.cpp: At global scope:
Opcodes/stk/src/BowTable.cpp:21: error: expected constructor, destructor, or type conversion before ‘::’ token
Opcodes/stk/src/BowTable.cpp:25: error: ‘BowTable’ is not a class or namespace
Opcodes/stk/src/BowTable.cpp:25: error: variable or field ‘setOffset’ declared void
Opcodes/stk/src/BowTable.cpp:25: error: ‘StkFloat’ was not declared in this scope
Opcodes/stk/src/BowTable.cpp:30: error: ‘BowTable’ is not a class or namespace
Opcodes/stk/src/BowTable.cpp:30: error: variable or field ‘setSlope’ declared void
Opcodes/stk/src/BowTable.cpp:30: error: ‘StkFloat’ was not declared in this scope
Opcodes/stk/src/BowTable.cpp:35: error: ‘StkFloat’ does not name a type
scons: *** [Opcodes/stk/src/BowTable.os] Error 1



In STK makefile fails in Generator.cpp

g++ -O3 -Wall -I../include -Iinclude -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D__LITTLE_ENDIAN__ -DRAWWAVE_PATH=\"../../rawwaves/\" -c Generator.cpp -o Release/Generator.o
Generator.cpp:14: error: ‘Generator’ has not been declared
Generator.cpp:14: error: ISO C++ forbids declaration of ‘Generator’ with no type
Generator.cpp: In function ‘int Generator()’:
Generator.cpp:14: error: only constructors take base initializers
Generator.cpp:16: error: ‘lastOutput_’ was not declared in this scope
Generator.cpp:17: warning: no return statement in function returning non-void
Generator.cpp: At global scope:
Generator.cpp:19: error: expected constructor, destructor, or type conversion before ‘::’ token
Generator.cpp:23: error: ‘StkFloat’ does not name a type
Generator.cpp:28: error: expected constructor, destructor, or type conversion before ‘&’ token
make: *** [Generator.o] Error 1


Shoudl I be using an older version?
==John ffitch



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

Re: STK code

by michael.gogins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had some problems with the float configuration, but not with the double
configuration, with 5.11.

The SConstruct file globs .cpp files. In the double configuration I had
removed all old files before updating with the current sources for STK. I
had not done that with the float configuration. I removed all STK sources
from the float dir and copied them over from the double dir, and all has now
built. So, some older file had not the stk namespace in it.

Regards,
Mike

----- Original Message -----
From: <jpff@...>
To: <csound-devel@...>
Sent: Thursday, September 24, 2009 8:58 AM
Subject: [Cs-dev] STK code


>I am attempting to build with version 4.4.1 and it fails
>
> In Csoudn fails in BowTable.cpp
> In file included from Opcodes/stk/include/Function.h:4,
>                 from Opcodes/stk/include/BowTable.h:4,
>                 from Opcodes/stk/src/BowTable.cpp:12:
> Opcodes/stk/include/Stk.h:524:1: warning: "__OS_LINUX__" redefined
> <command-line>: warning: this is the location of the previous definition
> Opcodes/stk/include/Stk.h:525:1: warning: "__STK_REALTIME__" redefined
> <command-line>: warning: this is the location of the previous definition
> Opcodes/stk/src/BowTable.cpp:15: error: â?~BowTableâ?T has not been
> declared
> Opcodes/stk/src/BowTable.cpp:15: error: ISO C++ forbids declaration of
> â?~BowTableâ?T with no type
> Opcodes/stk/src/BowTable.cpp: In function â?~int BowTable()â?T:
> Opcodes/stk/src/BowTable.cpp:17: error: â?~offset_â?T was not declared in
> this scope
> Opcodes/stk/src/BowTable.cpp:17: error: â?~StkFloatâ?T was not declared in
> this scope
> Opcodes/stk/src/BowTable.cpp:17: error: expected `;' before numeric
> constant
> Opcodes/stk/src/BowTable.cpp:18: error: â?~slope_â?T was not declared in
> this scope
> Opcodes/stk/src/BowTable.cpp:18: error: expected `;' before numeric
> constant
> Opcodes/stk/src/BowTable.cpp: At global scope:
> Opcodes/stk/src/BowTable.cpp:21: error: expected constructor, destructor,
> or type conversion before â?~::â?T token
> Opcodes/stk/src/BowTable.cpp:25: error: â?~BowTableâ?T is not a class or
> namespace
> Opcodes/stk/src/BowTable.cpp:25: error: variable or field â?~setOffsetâ?T
> declared void
> Opcodes/stk/src/BowTable.cpp:25: error: â?~StkFloatâ?T was not declared in
> this scope
> Opcodes/stk/src/BowTable.cpp:30: error: â?~BowTableâ?T is not a class or
> namespace
> Opcodes/stk/src/BowTable.cpp:30: error: variable or field â?~setSlopeâ?T
> declared void
> Opcodes/stk/src/BowTable.cpp:30: error: â?~StkFloatâ?T was not declared in
> this scope
> Opcodes/stk/src/BowTable.cpp:35: error: â?~StkFloatâ?T does not name a
> type
> scons: *** [Opcodes/stk/src/BowTable.os] Error 1
>
>
>
> In STK makefile fails in Generator.cpp
>
> g++ -O3 -Wall -I../include -Iinclude -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__  
> -D__LINUX_ALSASEQ__ -D__LITTLE_ENDIAN__ -DRAWWAVE_PATH=\"../../rawwaves/\"
>  -c Generator.cpp -o Release/Generator.o
> Generator.cpp:14: error: â?~Generatorâ?T has not been declared
> Generator.cpp:14: error: ISO C++ forbids declaration of â?~Generatorâ?T
> with no type
> Generator.cpp: In function â?~int Generator()â?T:
> Generator.cpp:14: error: only constructors take base initializers
> Generator.cpp:16: error: â?~lastOutput_â?T was not declared in this scope
> Generator.cpp:17: warning: no return statement in function returning
> non-void
> Generator.cpp: At global scope:
> Generator.cpp:19: error: expected constructor, destructor, or type
> conversion before â?~::â?T token
> Generator.cpp:23: error: â?~StkFloatâ?T does not name a type
> Generator.cpp:28: error: expected constructor, destructor, or type
> conversion before â?~&â?T token
> make: *** [Generator.o] Error 1
>
>
> Shoudl I be using an older version?
> ==John ffitch
>
>
>


--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf


--------------------------------------------------------------------------------


> _______________________________________________
> Csound-devel mailing list
> Csound-devel@...
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

Re: STK code

by Caecos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mike,

I vote for the double precision version and by the way...our site is down
since I'm unable to download your binairies...

Regards,

mdd

--------------------------------------------------
From: <michael.gogins@...>
Sent: Friday, September 25, 2009 7:19 PM
To: "Developer discussions" <csound-devel@...>
Subject: Re: [Cs-dev] STK code

> I had some problems with the float configuration, but not with the double
> configuration, with 5.11.
>
> The SConstruct file globs .cpp files. In the double configuration I had
> removed all old files before updating with the current sources for STK. I
> had not done that with the float configuration. I removed all STK sources
> from the float dir and copied them over from the double dir, and all has
> now
> built. So, some older file had not the stk namespace in it.
>
> Regards,
> Mike
>
> ----- Original Message -----
> From: <jpff@...>
> To: <csound-devel@...>
> Sent: Thursday, September 24, 2009 8:58 AM
> Subject: [Cs-dev] STK code
>
>
>>I am attempting to build with version 4.4.1 and it fails
>>
>> In Csoudn fails in BowTable.cpp
>> In file included from Opcodes/stk/include/Function.h:4,
>>                 from Opcodes/stk/include/BowTable.h:4,
>>                 from Opcodes/stk/src/BowTable.cpp:12:
>> Opcodes/stk/include/Stk.h:524:1: warning: "__OS_LINUX__" redefined
>> <command-line>: warning: this is the location of the previous definition
>> Opcodes/stk/include/Stk.h:525:1: warning: "__STK_REALTIME__" redefined
>> <command-line>: warning: this is the location of the previous definition
>> Opcodes/stk/src/BowTable.cpp:15: error: â?~BowTableâ?T has not been
>> declared
>> Opcodes/stk/src/BowTable.cpp:15: error: ISO C++ forbids declaration of
>> â?~BowTableâ?T with no type
>> Opcodes/stk/src/BowTable.cpp: In function â?~int BowTable()â?T:
>> Opcodes/stk/src/BowTable.cpp:17: error: â?~offset_â?T was not declared in
>> this scope
>> Opcodes/stk/src/BowTable.cpp:17: error: â?~StkFloatâ?T was not declared
>> in
>> this scope
>> Opcodes/stk/src/BowTable.cpp:17: error: expected `;' before numeric
>> constant
>> Opcodes/stk/src/BowTable.cpp:18: error: â?~slope_â?T was not declared in
>> this scope
>> Opcodes/stk/src/BowTable.cpp:18: error: expected `;' before numeric
>> constant
>> Opcodes/stk/src/BowTable.cpp: At global scope:
>> Opcodes/stk/src/BowTable.cpp:21: error: expected constructor, destructor,
>> or type conversion before â?~::â?T token
>> Opcodes/stk/src/BowTable.cpp:25: error: â?~BowTableâ?T is not a class or
>> namespace
>> Opcodes/stk/src/BowTable.cpp:25: error: variable or field â?~setOffsetâ?T
>> declared void
>> Opcodes/stk/src/BowTable.cpp:25: error: â?~StkFloatâ?T was not declared
>> in
>> this scope
>> Opcodes/stk/src/BowTable.cpp:30: error: â?~BowTableâ?T is not a class or
>> namespace
>> Opcodes/stk/src/BowTable.cpp:30: error: variable or field â?~setSlopeâ?T
>> declared void
>> Opcodes/stk/src/BowTable.cpp:30: error: â?~StkFloatâ?T was not declared
>> in
>> this scope
>> Opcodes/stk/src/BowTable.cpp:35: error: â?~StkFloatâ?T does not name a
>> type
>> scons: *** [Opcodes/stk/src/BowTable.os] Error 1
>>
>>
>>
>> In STK makefile fails in Generator.cpp
>>
>> g++ -O3 -Wall -I../include -Iinclude -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__
>> -D__LINUX_ALSASEQ__ -D__LITTLE_ENDIAN__ -DRAWWAVE_PATH=\"../../rawwaves/\"
>>  -c Generator.cpp -o Release/Generator.o
>> Generator.cpp:14: error: â?~Generatorâ?T has not been declared
>> Generator.cpp:14: error: ISO C++ forbids declaration of â?~Generatorâ?T
>> with no type
>> Generator.cpp: In function â?~int Generator()â?T:
>> Generator.cpp:14: error: only constructors take base initializers
>> Generator.cpp:16: error: â?~lastOutput_â?T was not declared in this scope
>> Generator.cpp:17: warning: no return statement in function returning
>> non-void
>> Generator.cpp: At global scope:
>> Generator.cpp:19: error: expected constructor, destructor, or type
>> conversion before â?~::â?T token
>> Generator.cpp:23: error: â?~StkFloatâ?T does not name a type
>> Generator.cpp:28: error: expected constructor, destructor, or type
>> conversion before â?~&â?T token
>> make: *** [Generator.o] Error 1
>>
>>
>> Shoudl I be using an older version?
>> ==John ffitch
>>
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>
>
> --------------------------------------------------------------------------------
>
>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@...
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@...
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel