ldc2-1.1.0-beta2-win64-msvc link error with std.datetime

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Aug 5 07:13:06 PDT 2016


On Friday, 5 August 2016 at 06:26:54 UTC, Miguel L wrote:
> Hello
> I am getting this link error when trying to use LDC2 to compile 
> a program that references std.datetime. The same program 
> compiles with no errors in DMD:
>
> Using Visual Studio: C:\Program Files (x86)\Microsoft Visual 
> Studio 14.0\
> main.obj : error LNK2019: unresolved external symbol 
> _D3std8datetime4Date15__invariant2044MxFNaNfZv referenced in 
> function _Dmain
> Error: `C:\windows\system32\cmd.exe /s /c 
> "D:\LDC\ldc2-1.1.0-beta2-win64-msvc\bin\amd64.bat link.exe"` 
> failed with status: 1120
> Exit code 1120

Could you please give our latest CI build at 
https://github.com/ldc-developers/ldc/releases/tag/LDC-Win64-master a shot? Just to make sure there's nothing wrong with the beta2 package. If the CI build also fails, please try to come up with a minimal testcase (dustmite?) and either post it here in the forum, or preferrably open a new GitHub issue (https://github.com/ldc-developers/ldc/issues). Thanks!


More information about the digitalmars-d-ldc mailing list