Csound Csound-dev Csound-tekno Search About

[Cs-dev] C++ question

Date2009-09-20 17:40
Fromjpff
Subject[Cs-dev] C++ question
I am failing to compile one version with a C++ error

Opcodes/stk/src/Messager.cpp: In function  void* socketHandler(void*) :
Opcodes/stk/src/Messager.cpp:334: error:  sort  is not a member of  std 
scons: *** [Opcodes/stk/src/Messager.os] Error 1

g++ -v says "gcc version 4.3.2" if that matters

==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@lists.sourceforge.net

Date2009-09-20 18:10
FromMichael Gogins
SubjectRe: [Cs-dev] C++ question
Is  included?

GCC 3.4.2 certainly does have std::sort.

However, I had to patch a number of STK files to get things to
compile. Mostly it was adding header files that were not being
scanned. I presume this is due to differences in implementation of the
C++ standard library between GCC versions.

Hope this helps,
Mike

On 9/20/09, jpff  wrote:
> I am failing to compile one version with a C++ error
>
> Opcodes/stk/src/Messager.cpp: In function  void* socketHandler(void*) :
> Opcodes/stk/src/Messager.cpp:334: error:  sort  is not a member of  std
> scons: *** [Opcodes/stk/src/Messager.os] Error 1
>
> g++ -v says "gcc version 4.3.2" if that matters
>
> ==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@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

------------------------------------------------------------------------------
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@lists.sourceforge.net

Date2009-09-20 18:18
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] C++ question
> Is  included?
It was not and adding it compiles that file -- now stuck on

Opcodes/stk/stkOpcodes.cpp:81: error: ‘stk’ is not a namespace-name
Opcodes/stk/stkOpcodes.cpp:81: error: expected namespace-name before ‘;’
token

This used to compile as far as i can remember -- normally I do not look at
this code




------------------------------------------------------------------------------
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@lists.sourceforge.net

Date2009-09-20 18:27
FromMichael Gogins
SubjectRe: [Cs-dev] C++ question
STK changed to a namespace scheme recently, it sounds like you do not
have the latest STK code. The STKOpcode.cpp file has been updated to
compile with the most recent STK (as of a month or so ago when I last
built everything).

Hope this helps,
Mike

On 9/20/09, jpff@cs.bath.ac.uk  wrote:
>> Is  included?
> It was not and adding it compiles that file -- now stuck on
>
> Opcodes/stk/stkOpcodes.cpp:81: error: ‘stk’ is not a namespace-name
> Opcodes/stk/stkOpcodes.cpp:81: error: expected namespace-name before ‘;’
> token
>
> This used to compile as far as i can remember -- normally I do not look at
> this code
>
>
>
>
> ------------------------------------------------------------------------------
> 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@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

------------------------------------------------------------------------------
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@lists.sourceforge.net

Date2009-09-20 18:48
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] C++ question
Are thanks;  that sounds familiar and you told me that before!

Will get new sources

==John ff


------------------------------------------------------------------------------
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@lists.sourceforge.net