Visual Studio 2015/2017 Could not create directories, mkdir exit code: 1 on Raspberry

…衆ロ難τιáo~ 提交于 2020-01-17 12:37:06

问题


Trying to connect remotely by Remote GDB Debugger in Visual Studio 2015 to Raspberry Pi 3 (ARM), but permanently got "Could not create directories, mkdir exit code: 1"

Tried the solution described on Visual Studio 2017 Could not create directories, mkdir exit code: 1 question, but still same.

I'm not "fluent" with Linux, so maybe It's just simple troubles with user adding or sudo groups modifying, but maybe someone made the same things successfully to explain?


回答1:


Move project folder to common hard drive folder

The mkdir error wasn't about linux user rights or SSH setup. Considering than this command same in Windows and Unix, it was confusing to realize that issue was on client side, not on the linux target machine. The reason is than my project folder created on OneDrive folder, so it caused this access error (I don't know why), although I run Visual Studio with admin rights.

So the solution was just to move project folder (e.g ConsoleApplication1) to common hard drive folder (Documents ets).



来源:https://stackoverflow.com/questions/42212898/visual-studio-2015-2017-could-not-create-directories-mkdir-exit-code-1-on-rasp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!