Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

un-useful error message about output path and mystery README file #1528

Closed
gitcnd opened this issue Aug 26, 2022 · 6 comments
Closed

un-useful error message about output path and mystery README file #1528

gitcnd opened this issue Aug 26, 2022 · 6 comments
Labels
needs-more-info More details about this issue are needed for it to be actionable. stale

Comments

@gitcnd
Copy link

gitcnd commented Aug 26, 2022

I see this:

Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.

This post: https://arduino.stackexchange.com/questions/45347/warning-when-verifying-sketch-with-vs-code

suggests: in arduino.json settings file add: "output": "../ArduinoOutput"

... which appears to be more directly to the point - if that's the correct answer, might I suggest fixing the error to be useful (and any other vague ones that might also be lurking where this came from, if possible/easy?)

@github-actions github-actions bot added the triage New issues that have not been reviewed. label Aug 26, 2022
@gitcnd
Copy link
Author

gitcnd commented Aug 26, 2022

suggestion... since something is already creating a per-project folder ./.vscode it might be a good idea to have a default "output" folder of ./.vscode/.build to avoid that nuisance entirely?

Using a single global build folder looks like a not-so-good idea, since the files it puts there have no parent-folder information included in them, so any projects using files and libraries of the same name may clobber each other?

@benmcmorran
Copy link
Member

Thanks for the report. How are you currently setting up your Arduino project in VS Code? #1425 should have done what you suggest and set "build" as the default build directory for projects initialized through the Arduino: Initialize command, but it won't change the behavior for existing projects. We can consider applying the default universally, but I want to be careful we don't cause unexpected behavior relative to the Arduino IDE. Would you expect the VS Code extension to ask if you'd like to use the default directory, or simply use it silently?

@benmcmorran benmcmorran added needs-more-info More details about this issue are needed for it to be actionable. and removed triage New issues that have not been reviewed. labels Sep 2, 2022
@stsvilik
Copy link

stsvilik commented Sep 8, 2022

Is it normal that output directory gets cleaned up on every "verify"?

@gcampbell-msft
Copy link
Contributor

@stsvilik Yes I believe it is, however if this isn't desired please feel free to post a separate issue, but I do believe that it's expected as of now.

@github-actions
Copy link

github-actions bot commented Oct 9, 2022

This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed.

@github-actions github-actions bot added the stale label Oct 9, 2022
@github-actions
Copy link

This issue has been automatically closed due to inactivity. If you are still experiencing problems, please open a new issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-more-info More details about this issue are needed for it to be actionable. stale
Projects
None yet
Development

No branches or pull requests

4 participants