- code-oss support
- C++ IntelliSense
- debugging
- .vscode automations
- Downkoad the JUCE framework and Projucer from https://juce.com/download/
- Move the JUCE folder to your home directory ~
- Execute the Projucer executable located in ~/JUCE/Projucer
- File > Sign In > select enable gpl mode
- Make sure the File > Global Paths are ok. (They should point to your ~/JUCE/ directory). Check for
- Path to JUCE
- JUCE modules
- Create a new project from Projucer, give it a name, make sure the Linux-Makefile is checked, Xcode (macOS) in the Exporters section,
- Or open an existing one. like this repo. (Open the .jucer file)
- Go to your project foler and
Builds/LinuxMakeFile
. Runmake CONFIG=Debug
to make sure you can build the file, and not missing any dependencies. - Execute the executable located in
Builds/LinuxMakefile/build/DemoApp
or check that your vst is created, depending on the options you set in Projucer sudo pacman -S gdb
for the debugger to work
Open and run the app once from xcode to generate some files that are necessary for the build task to run.
- Install the C/C++ IntelliSense extension for code-oss
- update the usr/include/c++/x.x.x versions to match the ones installed in your system
- update the usr/lib/gcc/ versions to match the ones installted in your system
- Make sure the JUCE/modules paths are correct
Make sure the paths are correct
- make sure the
osx.program
path specified, is correct
- Click
ctrl+shift+b
to open the tasks menu in vscode- clean all
- build
- Go to the run menu in the left side menu and select C++ Launch (The debugger should work by putting a breakpoint in vscode editor)
- https://stackoverflow.com/questions/46258143/visual-studio-code-how-to-configure-includepath-for-better-intellisense-results
- https://github.com/icq4ever/emptyJUCEProject
- https://forum.juce.com/t/visual-studio-for-mac/22358/20
- https://github.com/ChristopherJohnston/HelloWorldPlugin
- https://www.reddit.com/r/JUCE/comments/bbrjsb/how_to_run_juce_project_on_linux/