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

Open "sketch\bins\sketch\bins" verifying error #683

Closed
Jipolie01 opened this issue Nov 3, 2018 · 4 comments
Closed

Open "sketch\bins\sketch\bins" verifying error #683

Jipolie01 opened this issue Nov 3, 2018 · 4 comments

Comments

@Jipolie01
Copy link

Jipolie01 commented Nov 3, 2018

Hey,

So I've been working with the extension for a month now and everything worked fine. And then out of nowhere while verifying a file I got this error (I translated the words because my arduino is set in a different languages, so it might not be exactly the same):

Please see the build logs in Output path: c:\Users\jipga\Desktop\SOMNOX\Code\STM32-Main\bins
Loading configuration...
Loading packages...
Preparing boards...
Verify...
open sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\sketch\bins\preproc\ctags_target_for_gcc_minus_e.cpp: System can't find path

My arduino.json looks like this:

{
    "board": "Arduino_STM32:STM32F1:genericSTM32F103Z",
    "configuration": "device_variant=STM32F103ZC0,upload_method=STLinkMethod,cpu_speed=speed_72mhz,opt=osstd",
    "sketch": "STM32-Main.ino",
    "port": "COM7",
    "output": "./bins"
}

The actual path of the file that the compiler is trying to find is: sketch\bins\preproc\ctags_target_for_gcc_minu_e.cpp.
I don't know what could have happend that changed this, everything was working fine. Even when reverting the code changes the error is still there.
I changed the output directory multiple times, the error is still the same.
Is there a setting that I can use to change this path? Or is this a different type of problem, The arduino IDE has the same problem for me unfortunately.

Edit:
Whenever I change the folder it seems to make the sketch/bins/sketch/bins path asked in the build. But wile every preproc in the bins folder has the .cpp file the last folder doesn't. I don't know, some kind of recursion.
I also tried a folder that isn't called bins

@czgtest
Copy link
Contributor

czgtest commented Dec 3, 2018

@Jipolie01 is the path of sketch right ? "sketch": "STM32-Main.ino", I've used the output path "./bins", it work well as bellow.
image

hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Dec 6, 2018
hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Dec 6, 2018
hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Dec 6, 2018
hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Dec 18, 2018
@czgtest
Copy link
Contributor

czgtest commented Dec 27, 2018

this is an issue of Arduino IDE , arduino/Arduino#8271

hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Jan 12, 2019
hr-kapanakov pushed a commit to hr-kapanakov/vscode-arduino that referenced this issue Jan 12, 2019
@czgtest
Copy link
Contributor

czgtest commented Jan 21, 2019

@Jipolie01 Arduino IDE has fixed this issue on arduino/Arduino#8271
Can you have a try ?

@czgtest czgtest closed this as completed Jan 21, 2019
@czgtest
Copy link
Contributor

czgtest commented Jan 21, 2019

@Jipolie01 you can download HOURLY BUILDS https://www.arduino.cc/en/main/software
and update the "arduino.path" in vscode user settings , then do verify action.

image

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

No branches or pull requests

2 participants