Lib/carloop/examples/carloop_minimal/carloop_minimal.cpp:12:21: carloop.h: No such file or directory

Hi everyone, I’m new here trying to flash my device (Carloop with Electron) with carloop_minimal.cpp example.

I included the carloop library on the project (carloop.cpp, carloop.h, TinyGPS++.cpp and TinyGPS++.h) but no matter what I do it keeps bringing this error message:

lib/carloop/examples/carloop_minimal/carloop_minimal.cpp:12:21: carloop.h: No such file or directory

Any change that I made to the .ino file doesn’t do anything… it’s always about “carloop_minimal.cpp line 12” and the project is not even called like that, it’s “firstblood.ino”.

Thanks in advance.

Have you created the demo project via the dedicated USE THIS EXAMPLE button? Or just copy-pasted the code?

What system version are you targeting with your project?
It needs to be 0.5.2 or later.

1 Like

Hi @ScruffR, thanks for your answer.

Yes I used the “USE THIS EXAMPLE” button and copy pasted the code too. I recently was able to compile it copy/pasting the code and libraries. Not using the “ADD LIBRARY” button.

I was using 0.49 by carloop instructions but maybe those instructions were outdated. I’m going to try with 0.5.2 or later.

Thanks again.

EDIT: It was the firmware, I was reading an outdated tutorial.

1 Like