Skip to content

Move sketch files to an appropriately named folder #1

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

Closed
wants to merge 1 commit into from
Closed

Move sketch files to an appropriately named folder #1

wants to merge 1 commit into from

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Nov 29, 2017

The Arduino IDE requires that sketches be located in a folder that matches the sketch filename. When you open a sketch file that does not meet this requirement the Arduino IDE asks you whether you'd like the file to be moved to an appropriately named folder. The problem with this is it only moves the file you opened but this project has multiple sketch files. This causes compilation of the sketch to fail:

fatal error: moveservos.h: No such file or directory
 #include "moveservos.h"

The Arduino IDE requires that sketches be located in a folder that matches the sketch filename. When you open a sketch file that does not meet this requirement the Arduino IDE asks you whether you'd like the file to be moved to an appropriately named folder. The problem with this is it only moves the file you opened but this project has multiple sketch files. This causes compilation of the sketch to fail:

fatal error: moveservos.h: No such file or directory
 #include "moveservos.h"
@Napalm1432
Copy link
Owner

Napalm1432 commented Nov 29, 2017

Master branch + Dev branch updated with correct folder struct!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants