On Thursday, 21 November 2019 at 08:42:39 UTC, Seb wrote:
On Thursday, 21 November 2019 at 08:30:33 UTC, zoujiaqing wrote:
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...
[...]
Note this line:
Running .\myproject.exe
Program exited with code -1073741515
Your compiled program is crashing. Could you run the compiled
binary manually and obtain a stack trace?
I don't install debug tools.
but add mscoff flags is OK.
PS D:\projects\myproject> cat .\source\app.d
import std.stdio;
void main()
{
writeln("Edit source/app.d to start your project.");
}
PS D:\projects\myproject> dub run --arch=x86_mscoff
Performing "debug" build using
D:\Develop\dmd2\windows\bin\dmd.exe for x86, x86_mscoff.
myproject ~master: target for configuration "application" is up
to date.
To force a rebuild of up-to-date targets, run again with --force.
Running .\myproject.exe
Edit source/app.d to start your project.