Can't build simple project. Very strange errors
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 14 02:49:09 PDT 2017
I am getting very strange bug on very simple project. Here is
sources http://rgho.st/7j5LQLZxb (blue button for downloading).
On: dub build I am getting error:
Unexpected OPTLINK Termination at EIP=0040F60A
EAX=03930000 EBX=00438C70 ECX=00000EE6 EDX=000002CE
ESI=00000104 EDI=03930468 EBP=0019FF38 ESP=0019FEF0
First=00402000
on: dub build --compiler=ldc2
It's buildable, but I am getting error on execution. The error
says that file is corrupted.
If comment mysql driver. database.d:
import std.stdio;
import std.string;
import core.thread;
import ddb.postgres;
// import mysql; // <-- here
import vibe.d;
import config;
the project begin buildable with dmd and ldc2 and run ok.
I haven't seen such error before. I tried to clean
>link
OPTLINK (R) for Win32 Release 8.00.17
>DMD32 D Compiler v2.074.0
But I tested it on 2.073.0 too
Also I tried to cleanup folder:
AppData\Roaming\dub
but it did not help :(
Any ideas?
Windows 10
More information about the Digitalmars-d-learn
mailing list