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

Reply via email to