Re: [Csnd] STK plugins

Has anyone already compiled and installed the STK plugins intended for Csound?
E
p.s.
I copy below the READ.ME for my version of Csound (6.x)

Sorry, the commands there were not right, here they are:

# download, build and install libstk
cd /tmp
git clone GitHub - nodesign/libstk: STK synth port to OpenWrt
cd libstk/stk
autoconf
./configure
make
sudo make install

# download, build and install csound plugins
cd /tmp
git clone GitHub - csound/plugins: Repository for Csound plugins which were originally in the main repository, and for new plugins as well.
cd plugins/6.x
mkdir build
cd build
export CXXFLAGS=-isystem\ /usr/local/include/stk
cmake ..
make
sudo make install

# run Csound
export RAWWAVE_PATH=/usr/share/stk/rawwaves/
csound test.csd

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        GitHub · Where software is built
Discussions of bugs and features can be posted here

Hi
I have just tried this on Linux, and got it working, but it was less straighforward than I expected. I found that I needed to install libstk first, which I found at GitHub - nodesign/libstk: STK synth port to OpenWrt

After this, I was able to build and install the plugin with a slight modification to the README.md build instructions (it says "cd plugins" but that should be "cd plugins/6.x")

Further to this, Csound seems to need the environment variable RAWWAVE_PATH set to where the libstk raw wave files were installed, before running, if that's not set then it will fail.

All of the commands I executed are as follows, they may be similar on a Mac assuming you have Cmake, git and build tools installed.

# download, build and install libstk
cd /tmp
git clone GitHub - nodesign/libstk: STK synth port to OpenWrt
cd libstk/stk
autoconf
./configure
make
sudo make install

git clone GitHub - thestk/stk: The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language.
cd stk
mkdir build
cd build
cmake ..
make
sudo make install

# download, build and install csound plugins
cd /tmp
git clone GitHub - csound/plugins: Repository for Csound plugins which were originally in the main repository, and for new plugins as well.
cd plugins/6.x
mkdir build
cd build
export CXXFLAGS=-isystem\ /usr/local/include/stk
cmake ..
make
sudo make install

# run Csound
export RAWWAVE_PATH=/usr/share/stk/rawwaves/
csound test.csd

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        GitHub · Where software is built
Discussions of bugs and features can be posted here