Skip to content

Avoid .ipp extension as it's ignored by Arduino IDE #396

@Humphreybas

Description

@Humphreybas

I don't expect this to be 'solved' (certainly since it's not actually a problem of the ArduinoJson software), but maybe someone has some insights or tips on this:

For git, portability and easy deployment of my Arduino project, I would like to keep the ArduinoJson library inside the project/sketch folder. With the Arduino IDE this was ridiculous hard to do, they wanted you to use the global library folder. However now that I am working with version 1.6.13 of the IDE it's a bit easier. You can actually include a relative path:
#include "ArduinoJson/ArduinoJson.h"

Unfortunately, this does not work for ArduinoJson because JsonParser.ipp cannot be found, and as I learned in a arduino forum thread this is because the Arduino IDE does not copy *.ipp files to the temp directory in which it is building.
I tried renaming the ipp files to cpp but that gave all sorts of errors. Is there by any change someone who has a tip how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions