learning JUCE
JUCE is a c++ framework for developing audio applications.
Projucer is a tool that generates juce projects. it somewhat hides the cmake files. Correction it doesn't hide cmake files, it was made before cmake was widely used. JUCE now adopts or is looking to adopt cmake.
installing
clonse JUCE repo > build ProJucer >
when you open projucer for the first time you need to configure the global paths to where the JUCE repo is. File > Global Paths.
enable projucer GPL mode.
lsp problem in Neovim
I want to use nvim to develop cpp. I also want to build and run the app in the command line. Without having to open Visual Studio.
I am having trouble with the lsp detecting the juce header files.
-
Building with cmake instead of projucer would solve my problem.
-
I can try generating a compile_commands.jsonfile. with bear or compiledb, custom script in that reddit thread
-
or with "Clang Power Tools" extension in Visual Studio. ✅ this worked, I moved the file to the root of the project and lsp works fine.
But how do I build the project without VS?
I have a few options:
- FRUT which builds juce projects with cmake. can also convert existing projucer projects. just follow the getting started section on the README. ☑
- project templates that come with CMakeFile s
- and Cookiejucegenerates modern JUCE projects from the command line
- Pamplejuce template. good read