When I want to create c++ project from Arduino sketch, it was prompted:
anyone here has met this problem?
You haven't supplied the Sketch File location ?
I mean when I click the button in the right side of "sketch file", this prompt would be there.
that's the button to browse for a sketch.
So, presumably, its default for where to start browsing has gone wrong.
Have you successfully imported a "sketch" before?
If so, was it from a removable drive - which is no longer present?
What happens if you just enter the path direct into the box - eg, copy & paste from the Windows explorer ... ?
Like Andy says just type in some known location like "C:\" into the text box before you try [...] and it should start there.
I copied address into it, then:
Maybe you need to run as Administrator?
Until Black Lives Matter, we do not have "All Lives Matter"!
I noticed your logo gif, how about the work flow ?
Do you have a tutorial about it ?
I copied address into it
That box is expecting a full file specification - ie, the full path and file name - does it work if you give it that?
So that seems pretty clear!
So do you have permission to access that location?
Is it a network drive?
Can you open the "sketch" in, eg, Notepad?
What is G: ?
Could it be readonly ?
Here's a test: Copy ArduinoSketch7 folder onto your desktop and attempt to open from there.
© 2021 Microchip Technology Inc.