Any good guides for getting set up on Linux?

Hello, I’m looking to get set up on Linux Debian 12.

So far, I can run Projucer ok. My only option for build target is Linux cmake.

What I’m trying to figure out is how to integrate that with my IDE.

I have VScode on Linux, I also have Codeblocks.

I’m basically clueless about how to compile on Linux!

The best IDE for Linux/JUCE projects is CLion. It can read your project CMake files and provide you with the navigation and inspection tools you need, and as well provides a smooth build experience.

Did you build Projucer yourself, using the LinuxMakefile build rig that is provided with JUCE?

There are two build methods available to you: command line, and through an IDE. The best approach is to learn both methods, because at various times during development you might find either one necessary.

There are many tutorials on how to wrangle a CMake-base project to get successful builds. I suggest you scale back and do one of those tutorials before you get further into the weeds/jungle with JUCE.

1 Like

Am I mad, or is there no ‘LinuxMakefile’ build rig in the current git repo. I just cloned it… and I don’t see it?

I see there’s a Projucer executable but that doesn’t work.

terminal told me to install juce-tools, which did give me a working Projucer… but i have a feeling that’s not the way to go.

Sorry… pretty clueless here!

Anyway… not too fussed about Projucer as such since it looks like it’s just a front-end GUI for what can be done with CMake anyway. I’ve just installed CLion so will see how i go with that

I would also recommend CLion + CMake + Clang. BTW, you may want to take a look at pamplejuce, especially if you want to build for other platforms with Github action.

Thanks… I was looking at pamplejuce… looks good, but I was trying it on Windows… and there’s something very wrong with my windows system right now, so would be interested to try it on Linux, which so far is behaving quite well.

Don’t know how I missed it but I found the Projucer makefile, used ‘make’ in terminal to build it and all went well. Still, all it gives me is a Makefile target for Linux… I thought I read somewhere that Juce could prepare a target for CLion??

I actually succeeded in building a basic audio plugin with make in terminal – it gave me a couple warnings, but spat out an ‘.so’ plugin, which I was then able to open in Reaper and test. Oddly, Reaper labeled it as a VST3. But anyway… just playing at the moment.

Anyway, I will have a go with some templates such as pamplejuce, where I should be able to use CMake via CLion.

Also found one other important piece of the puzzle: in JUCE github repo > docs > LinuxDependancies.md

made sure I had everything installed that’s listed there, so now have clang, etc.

Good work, lets hear how you proceed. For a newcomer, JUCE can provide a huge leg-up - but it can also be frustrating in terms of how to proceed from the basics…