-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Weird errors when sketch name and directory name differ in capitalization only... #6402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem looks related with a partial move when the new folder gets created. Bugfix ongoing 😉 Thanks for the report! |
No; still behaves the same on MacOS version. Note that in this case, the problematic .h file has the same filename root as the sketch name. |
OK, so it is related with case-insensitive filesystems and I fixed another unrelated bug 😄 I'll check on OSX and report back, but I think this is triggered by the builder and not by Java IDE. |
If you have a sketch in a directory whose name is different only in capitalization, the Arduino IDE will get confused about what type of file it is pre-processing.
See WestfW/OptiLoader#12
Duplicate by:
Download optiLoader .zip from https://github.com/WestfW/OptiLoader and uncompress.
This gives you a directory OptiLoader-master, which the Arduino IDE won't like. Rename it to just "OptiLoader" - now the IDE will NOT complain about needing to "move" the sketch into a matching directory. (Note that the capitalization is still different.)
Try to compile ("Verify") - the IDE will apparently attempt to do .cpp-style pre-processing on the optiLoader.h file, resulting in an error:
Easiest fix is probably to fix the check where the IDE (incorrectly) thinks that the sketch name and directory name match...
The text was updated successfully, but these errors were encountered: