1. Download dmd.2.088.1.windows.7z
2. Unzip it to D:\Develop\dmd2
3. Add ENV D:\Develop\dmd2\windows\bin to System Path
4. Run `dub --version` and `dmd --version` in powershell is OK
5. dub ini myproject (no dependency)
6. Run `cd myproject` and `dub run` is error...

Error Logging infomation:

PS D:\projects\myproject> dub run -v
Using dub registry url 'https://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json Looking for local package map at C:\Users\zouji\AppData\Local\dub\packages\local-packages.json Note: Failed to determine version of package myproject at .. Assuming ~master.
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json Looking for local package map at C:\Users\zouji\AppData\Local\dub\packages\local-packages.json
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json Looking for local package map at C:\Users\zouji\AppData\Local\dub\packages\local-packages.json
Generating using build
Configuring dependent myproject, deps:
Performing "debug" build using D:\Develop\dmd2\windows\bin\dmd.exe for x86_64. myproject ~master: target for configuration "application" is up to date. Using existing build in D:\projects\myproject\.dub\build\application-debug-windows-x86_64-dmd_2088-7987457E14148EF60F863BFBCDFB8A1F\. Copying target from D:\projects\myproject\.dub\build\application-debug-windows-x86_64-dmd_2088-7987457E14148EF60F863BFBCDFB8A1F\myproject.exe to D:\projects\myproject
To force a rebuild of up-to-date targets, run again with --force.
Running .\myproject.exe
Program exited with code -1073741515


I think this problem has a great impact on a new person using D language under Windows system.

Reply via email to