changing the name of src directory, don't change compilator cache #2613
Labels
conclusion: duplicate
Has already been submitted
topic: build-process
Related to the sketch build process
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
Hello everyone,
I have files like :
myfile.ino
src/mylib.cpp
src/mylib.h
I get an error at compile time on
mylib.h
:In fact,
mylib.cpp
is not include inmyfile
, because i don't find anyway to avoid compile ofmylib.cpp
, I just changed the name of directory fromsrc
tosrc2
, so my files are now:myfile.ino
src2/mylib.cpp
src2/mylib.h
But the error is still the same with a wrong directory which doesn't exist anymore (
\myfile\src\mylib.h
):The fault occurs when the files are under a subfolder that contains any name starting with
s
.The fault does not occur after I change the folder name to something that does not start with
s
.To reproduce
src
directory inside.src/
which produces a compile error.src/
tos/
.Expected behavior
Checking that files still exists in path
Arduino IDE version
2.3.2
Operating system
Windows
Operating system version
10
Issue checklist
The text was updated successfully, but these errors were encountered: