编译workspace-d时出错

时间:2016-04-10 08:52:12

标签: d

我尝试使用管理员权限在Windows 10上安装workspace-d但是失败了。

这是错误信息。我已经安装了dmd,dub和git。

PS C:\Users\U\Desktop\workspace-d-installer> .\workspace-d-installer.exe
Welcome to the workspace-d installation guide.
Make sure, you have dmd, dub and git installed.

Which external components do you want to install?
[1] DCD - auto completion
[2] DScanner - code linting
[3] dfmt - code formatting
Enter a comma separated list of numbers
Selected [all]:
Cloning workspace-d into C:\Users\U\AppData\Local\Temp\workspaced-install-635958600835730563
Checking out v2.6.0
Compiling...
Error: Error writing file '..\..\..\..\..\..\U\AppData\Roaming\dub\packages\painlesstraits-0.1.0\.dub\build\library-release-windows-x86-dmd_2071-92537C3AEFB87AC450BFCCEE2ECBED44\painlesstraits.lib'
dmd failed with exit code 1.
Error while compiling workspace-d.

1 个答案:

答案 0 :(得分:0)

这是workspace-d-installer的错误。即使它只是运行shell命令,它在Windows上也有一些权限问题。如果你想对它做任何事情,我在项目页面上打开了一个问题:https://github.com/Pure-D/workspace-d-installer/issues/2

现在唯一的解决方案是手动克隆每个存储库(workspace-d,dfmt,dscanner,dcd)并遵循其构建说明。我正在尝试修复该问题,以便您可以使用workspace-d-installer。