Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] cs_glue.hpp and CsoundOpcodeList(CSOUND* csound);

Date2008-03-01 12:35
From"Michael Gogins"
SubjectRe: [Cs-dev] cs_glue.hpp and CsoundOpcodeList(CSOUND* csound);
It is a C library, but it can be (and is) used with C++. Your problem is 
something else.

What compiler are you using?

Regards,
Mike

----- Original Message ----- 
From: "Carsten Hoyer" 
To: 
Sent: Saturday, March 01, 2008 4:43 AM
Subject: [Cs-dev] cs_glue.hpp and CsoundOpcodeList(CSOUND* csound);


>
> Hi
> Trying to create a list of all available opcodes. I have decided to try 
> and
> use CsoundOpcodeList, because I think this opcode will do just that ( 
> though
> I´m a little confused, if it only lists the opcodes used in the provided
> .csd file, since it needs to be called after csoundCompile ).
> My problem is with the cs_glue.hpp interface header. I am getting these
> errors:
>
> C:/Program Files/csound5/interfaces/cs_glue.hpp:68: error: expected `)'
> before '*' token
> C:/Program Files/csound5/interfaces/cs_glue.hpp:158: error: expected `)'
> before '*' token
> C:/Program Files/csound5/interfaces/cs_glue.hpp:192: error: expected `)'
> before '*' token
> C:/Program Files/csound5/interfaces/cs_glue.hpp:545: error: expected `)'
> before '*' token
> C:/Program Files/csound5/interfaces/cs_glue.hpp:641: error: expected `)'
> before '*' token
> C:/Program Files/csound5/interfaces/cs_glue.hpp:724: error: expected `)'
> before '*' token
>
> It is a wxDev-c++ project integrating csound.
> I think the problem is related to cs_glue.hpp being C++, and i have only
> linked with libcsound32.a - Is it not correct that this is only for C?
>
> Thank you
> Carsten
> -- 
> View this message in context: 
> http://www.nabble.com/cs_glue.hpp-and-CsoundOpcodeList%28CSOUND*-csound%29--tp15773100p15773100.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-deve

Date2008-03-01 19:37
FromCarsten Hoyer
SubjectRe: [Cs-dev] cs_glue.hpp and CsoundOpcodeList(CSOUND* csound);

Michael Gogins wrote:
> 
> It is a C library, but it can be (and is) used with C++. Your problem is 
> something else.
> 
> What compiler are you using?
> 

Did you see my other post? I linked to libcsnd and i included csound.hpp
instead of csound.h. Thats working.
Im using MinGW GCC.
-- 
View this message in context: http://www.nabble.com/cs_glue.hpp-and-CsoundOpcodeList%28CSOUND*-csound%29--tp15773100p15779137.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net