Skip to content

Conversation

@per1234
Copy link

@per1234 per1234 commented May 29, 2018

The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download the contents of a repository the branch/tag/commit name is appended to the folder name, causing a mismatch.

When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog:

The file "SigkSens.ino" needs to be inside a sketch folder named "SigkSens".
Create this folder, move the file, and continue?

After clicking "OK" the Arduino IDE currently moves only the file SigkSens.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail:

SigkSens-master\SigkSens\SigkSens.ino:14:22: fatal error: FSConfig.h: No such file or directory

 #include "FSConfig.h"

                      ^
The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download the contents of a repository the branch/tag/commit name is appended to the folder name, causing a mismatch.

When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog:

The file "SigkSens.ino" needs to be inside a sketch folder named "SigkSens".
Create this folder, move the file, and continue?

After clicking "OK" the Arduino IDE currently moves only the file SigkSens.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail:

SigkSens-master\SigkSens\SigkSens.ino:14:22: fatal error: FSConfig.h: No such file or directory

 #include "FSConfig.h"

                      ^
@mxtommy mxtommy mentioned this pull request Aug 26, 2018
@mxtommy
Copy link
Owner

mxtommy commented Aug 26, 2018

Thanks, adding support for platformIO ended up doing the same thing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants