Setting-up IDE on arch problems

Hello everyone,
I’m learning JUCE and having a lot of fun, but I’m facing difficulties to set up both of my IDEs.
Both vs-code and CLion does not seam to link the JUCE library properly as I can’t use auto-completion and get message in the IDE editors like “juce is undefined”.
I set-up my projects using the Projucer with Linux Makefile, everything compile and work on this side.

I read that it can be linked (for CLion) with CMake, so it set up the last working releases of GDB and CMake to work with CLion.

Unfortunately it still does not work, I installed JUCE from the AUR using yay.
I don’t have this issue on my other machine running Ubuntu.

Thank you.

The autocomplete in Clion with the CMake build system should work well - that’s the setup that I use for all JUCE development, on macOS/Windows/Linux. For Linux dev, I mainly stick to Fedora and Ubuntu, but I’d be surprised if autocomplete worked significantly differently on Arch.

The official JUCE distribution includes example CMake projects in examples/CMake. Perhaps it’s worth trying out those examples - if those work, then that might suggest that there are some differences in the CMake config between your project and the example projects.

I’d recommend against this approach. We don’t support redistributions of JUCE, as the distributors may have made changes to JUCE, and/or the releases of distributed versions may lag behind the official distribution. Instead, clone JUCE from github.com/juce-frameworks/juce.