# Csound.hpp not found when compiling Cabbage

**URL:** <https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141>\
**Category:** Cabbage Stew\
**Created:** [3 October 2020 13:38 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141 "2020-10-03T13:38:03Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [3 October 2020 13:38 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/1 "2020-10-03T13:38:04Z")

</div>

I am trying to compile Cabbage on Linux Mint. I get this cound.hpp file not found. Installed cound with apt-get, but the /usr/local/includes file is empty…

Richard

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 October 2020 18:09 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/2 "2020-10-03T18:09:33Z")

</div>

I think you need to install the csound-dev package? The recommended way of doing this is to build Csound yourself from source. It should be pretty trivial to build. Let me know if you have any issues.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [3 October 2020 23:36 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/3 "2020-10-03T23:36:26Z")

</div>

I tried to install csound-dev, but that package does not exist. I had already installed csound64-dev, but that did not do it either. BTW, csound 6.10 is installed and running. Does Cabbage only need this include file, or also .so files?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [4 October 2020 08:21 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/4 "2020-10-04T08:21:40Z")

</div>

You’ll need at least Csound 6.13. Cabbage links to the Csound lib, so it definitely needs those .so files.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [4 October 2020 11:43 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/5 "2020-10-04T11:43:02Z")

</div>

Ok, I compiled Csound on Mint, it is now version 6.15.  
But some errors occurred during the Cabbage build process:

In file included from …/…/JuceLibraryCode/modules/juce\_audio\_plugin\_client/juce\_audio\_plugin\_client\_VST2.cpp:26:0,  
from …/…/JuceLibraryCode/include\_juce\_audio\_plugin\_client\_VST2.cpp:9:  
…/…/JuceLibraryCode/modules/juce\_audio\_plugin\_client/VST/juce\_VST\_Wrapper.cpp:87:10: fatal error: pluginterfaces/vst2.x/aeffect.h: No such file or directory  
#include “pluginterfaces/vst2.x/aeffect.h”

and:

In file included from …/…/JuceLibraryCode/include\_juce\_graphics.cpp:9:0:  
…/…/JuceLibraryCode/modules/juce\_graphics/juce\_graphics.cpp:92:12: fatal error: ft2build.h: No such file or directory  
#include \<ft2build.h\>

Any idea?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [4 October 2020 12:02 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/6 "2020-10-04T12:02:55Z")

</div>

You’ll need the vst2.4 ask, and I think the other error is related to webkit? Check the repo, there is a build Linux script in the root folder that has all the steps you need to build. 👍

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [4 October 2020 12:41 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/7 "2020-10-04T12:41:06Z")

</div>

I have downloaded the VST\_SDK from Steinberg, and that contains also the following:  
VST\_SDK\VST2\_SDK\public.sdk\source\vst2.x. This contains some .h and .cpp files that resemble (but not exact) the file being asked for. See screenshot.  
So it looks like vst2.x is still there. Is that something we can use? Maybe change something in the source code?

 ![Screenshot from 2020-10-04 14-36-29](https://forum.cabbageaudio.com/uploads/default/original/2X/2/293ad6a5deecff64a147c4f697bc47a265858b9f.png)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [4 October 2020 15:12 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/8 "2020-10-04T15:12:00Z")

</div>

The VST2.4 SDK is no longer available from Steinberg, although they have a place holder for it in their sources. You will need to get it yourself somewhere. You should really look at the build linux script in the root folder of the repo. It’s basically a step by step list of instructions on how to build from scratch on any flavour of Linux. 😉

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [4 October 2020 17:18 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/9 "2020-10-04T17:18:21Z")

</div>

Ok, I just executed the Linux build script. That seemed to solve some missing dependencies. Then I executed the cabbageBuild script. All seemed to go well (no errors during the build), but in the end I got:

Copying over docs and icons…  
/tmp/ccdbfoBz.o: In function `Csound::LoadPlugins(char const*)': testCsoundFile.cpp:(.text._ZN6Csound11LoadPluginsEPKc[_ZN6Csound11LoadPluginsEPKc]+0x23): undefined reference to `csoundLoadPlugins’  
/tmp/ccdbfoBz.o: In function `Csound::GetInputName()': testCsoundFile.cpp:(.text._ZN6Csound12GetInputNameEv[_ZN6Csound12GetInputNameEv]+0x18): undefined reference to `csoundGetInputName’  
collect2: error: ld returned 1 exit status

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [4 October 2020 21:36 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/10 "2020-10-04T21:36:22Z")

</div>

Comment out the command that builds testCsoundFile.cpp and you should be grand. In fact, it probably built ok. Check the install bin folder…

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [4 October 2020 23:32 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/11 "2020-10-04T23:32:20Z")

</div>

Well, there is a CabbageLite and Cabbage file in that folder, but I cannot start them. They are of unknown file type…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 October 2020 08:24 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/12 "2020-10-05T08:24:50Z")

</div>

That Cabbage file is the application binary. I’m not sure why it won’t start. I used to build Cabbage on Mint all the time until I switched back to plain old Ubuntu. I don’t see what the problem might be.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [5 October 2020 09:00 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/13 "2020-10-05T09:00:27Z")

</div>

I had to add .sh to the file name and now it runs.  
Well, I cannot open any of the examples. Only Effects and Instruments are highlighted in the menu, but nothing further is highlighted…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 October 2020 09:11 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/14 "2020-10-05T09:11:00Z")

</div>

Did you run installCabbage.sh? If not then you won’t have access to the examples through the example menu. If you don’t want to install globally you can set the examples directory in the Cabbage settings. After that they should appear in the menu 😉

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [5 October 2020 09:27 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/15 "2020-10-05T09:27:47Z")

</div>

I did it just now. Had to use sudo. It now works, but all the examples I heard generate a crackling audio (distorted)…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 October 2020 09:29 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/16 "2020-10-05T09:29:56Z")

</div>

Are you using Jack? I only ever test with Jack. I think some people have got Cabbage running with non-Jack drivers, but I never bothered. I use Cadence to manage my Jack sessions and find it rather painless.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [5 October 2020 09:32 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/17 "2020-10-05T09:32:02Z")

</div>

I was using ALSA, will try Jack now.  
Hmm, I get no sound with jack, test button produces none. The output shows ‘system’  
I use qjackctl…

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [5 October 2020 11:31 UTC](https://forum.cabbageaudio.com/t/csound-hpp-not-found-when-compiling-cabbage/2141/18 "2020-10-05T11:31:58Z")

</div>

Ok, somehow now it works, I started jack first and then Cabbage, maybe that did the trick…
