[Csnd-dev] Building example CPOF plugin opcodes

Pierre Clisson <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
Hi!

I'm trying to build the example CPOF plugin opcodes (develop branch) on 
MacOS using:

gcc -O2 -dynamiclib -o opcodes.dylib opcodes.cpp 
-I/Users/mesca/Library/Frameworks/CsoundLib64.framework/Headers 
-std=c++11 -DUSE_DOUBLE

Unfortunately, I have a bunch of unresolved symbols, including:

opcodes.cpp:73:13: error: no member named 'plugin_deinit' in 'csnd::Csound'
     csound->plugin_deinit(this);
     ~~~~~~  ^
opcodes.cpp:138:36: error: no member named 'sr' in 'csnd::Csound'
     delay.allocate(csound, csound->sr() * inargs[1]);

Also, using csound->init_error()/message()/... result in:

ld: symbol(s) not found for architecture arm64

What am I missing?
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.