-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Command line invocation on Windows #2411
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
Are you sure you're not specifying any other options? Looking at the code, this error message should only be possible when specifying options (e.g. like |
Right, that message "Cannot specify any sketch files" comes up only when called with -v.
I'm getting a dialog with "Failed to open sketch: "mystep.ino". Then the IDE opens with a new sketch. Same happens when I use --verify. |
You'll need to provide a full path to your .ino file. When starting Arduino, the current directory is changed to the install directory for some java stuff to load properly. On Linux there is a workaround for this, but not for Windows or OSX yet. See #1493 for details about this issue. |
Ok that seems to work for me now. Thank you.
This is although the current drive is already C: and there are no other drive letters in use on my machine. Without the drive letter, I'm still getting the error. |
The command line build does not work at all for me (1.5.8 and current nightly, on Windows 7).
I'm, running:
or:
The IDE produces a dialog box with "Cannot specify any sketch files".
Same happens if arduino_debug.exe is used. Option --verbose does not give any additional information.
Regards,
The text was updated successfully, but these errors were encountered: