Coder Social home page Coder Social logo

juce-gui-vscode-demo's Introduction

Linux Setup for JUCE framework

Features

  • code-oss support
  • C++ IntelliSense
  • debugging
  • .vscode automations

Setup guide

Juce and Projucer

  1. Downkoad the JUCE framework and Projucer from https://juce.com/download/
  2. Move the JUCE folder to your home directory ~
  3. Execute the Projucer executable located in ~/JUCE/Projucer
  4. File > Sign In > select enable gpl mode
  5. Make sure the File > Global Paths are ok. (They should point to your ~/JUCE/ directory). Check for
    1. Path to JUCE
    2. JUCE modules
  6. Create a new project from Projucer, give it a name, make sure the Linux-Makefile is checked, Xcode (macOS) in the Exporters section,
  7. Or open an existing one. like this repo. (Open the .jucer file)

Linux Manual build

  1. Go to your project foler and Builds/LinuxMakeFile. Run make CONFIG=Debug to make sure you can build the file, and not missing any dependencies.
  2. Execute the executable located in Builds/LinuxMakefile/build/DemoApp or check that your vst is created, depending on the options you set in Projucer
  3. sudo pacman -S gdb for the debugger to work

Mac build

Open and run the app once from xcode to generate some files that are necessary for the build task to run.

Code-Oss

  1. Install the C/C++ IntelliSense extension for code-oss

c_cpp_properties.json (Linux)

  1. update the usr/include/c++/x.x.x versions to match the ones installed in your system
  2. update the usr/lib/gcc/ versions to match the ones installted in your system
  3. Make sure the JUCE/modules paths are correct

tasks.json (Mac)

Make sure the paths are correct

launch.json (Mac)

  1. make sure the osx.program path specified, is correct

Running the app

  • Click ctrl+shift+b to open the tasks menu in vscode
    1. clean all
    2. 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)

Resources

juce-gui-vscode-demo's People

Contributors

catman85 avatar vasiliadis-de2 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.