-
Notifications
You must be signed in to change notification settings - Fork 214
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
Cannot set output folder to absolute path #450
Comments
I can confirm this. There is some other funky behavior: |
That is a different issue, though. The documentation specifically states that the build directory should not be inside the sketch directory as this can cause the build to fail. In your example, |
When I use an absolute path, I get a InvalidPathException: When I the following line to my I see this error: It looks like it is interpreted as a relative path. Is there a way to tell it, that this is a absolute path? |
+1 and also #461 |
the version 0.2.12 support set output folder to absolute path |
So to me it seems sensible to but the build output folder into the %temp% directory (usually
C:\Users\<user>\AppData\Local\Temp
). This is how the Arduino IDE does it as well.However, setting the output variable in
arduino.json
will lead to an error message when starting the build and upload:arduino.json
Output
I also tried this with other absolute paths, and even on different drives. I get this very same error message every single time.
It does work perfectly when setting a relative path.
The text was updated successfully, but these errors were encountered: