DUB - link error on Windows 10 64-bit

Dibyendu Majumdar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 16 12:28:02 PST 2016


Hi

I am using DUB on Windows 10 64-bit with DMD. I have simple 
project with following configuration:

{
	"name": "testing",
	"description": "A minimal D application.",
	"copyright": "Copyright © 2016, dibyendu",
	"authors": ["dibyendu"],
	"targetType": "dynamicLibrary",
	"libs": ["somelib"],
	"lflags-windows-x86_64": ["/LIBPATH:c:\\lib\\"],
}

I get link errors such as:

error LNK2019: unresolved external symbol _d_assert
error LNK2019: unresolved external symbol _d_unittest
error LNK2001: unresolved external symbol _DllMainCRTStartup

I have installed DMD by unzipping the DMD archive (The installer 
does not work correctly on Windows 10). DUB installed as normal.

Would appreciate any tips on what I am doing wrong.

Thanks and Regards
Dibyendu


More information about the Digitalmars-d-learn mailing list