Thanks for the quick responses. So I didn't realise that I needed to download/build JUCE and have cabbage-master and JUCE in the home directory. I know this now.
I think I've managed to get it to build successfully but I get this message at the end of the build, not sure if I need to be concerned by it. Cabbage has installed and seems to open just fine.
/tmp/ccXTd4mh.o: In function `Csound::CompileCsdText(char const*)':
testCsoundFile.cpp:(.text._ZN6Csound14CompileCsdTextEPKc[_ZN6Csound14CompileCsdTextEPKc]+0x23): undefined reference to `csoundCompileCsdText'
collect2: error: ld returned 1 exit status