Csound Csound-dev Csound-tekno Search About

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

Date2008-03-01 09:43
FromCarsten Hoyer
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/csou

Date2008-03-01 10:07
FromCarsten Hoyer
SubjectRe: [Cs-dev] cs_glue.hpp and CsoundOpcodeList(CSOUND* csound);
Ok. I answered it myself. I had to include csound.hpp not csound.h and then i
had to link to libcsnd
Carsten
-- 
View this message in context: http://www.nabble.com/cs_glue.hpp-and-CsoundOpcodeList%28CSOUND*-csound%29--tp15773100p15773105.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