macOS C++ IDE

The only thing I had to add to the DaisySP library was this in library.json:

{
    "build": {
        "srcDir": ""
    }
}

That’s because, by default, PlatformIO looks in the src directory for the source files, but the main include file daisysp.h is in the root directory, so using an empty string makes it look in root. After adding that all the examples I tried are compiling fine.

All this would probably work in Atom as well, but after having made the switch myself I think VSCode is probably better for all the extra features.

Of course, you don’t have to have the libraries in the lib folder, you can put them wherever you want and reference them using lib_extra_dirs and this should should still work.

Ideally we’d get these or similar library.json files checked into the git repos for the libraries, then we would only need to reference the library names in the ini file and they would be brought in automatically.

1 Like