digitalmars.D.bugs - [Issue 19586] New: LNK1181 cannot open input file 'phobos-ldc.lib'
- d-bugmail puremagic.com (37/37) Jan 15 2019 https://issues.dlang.org/show_bug.cgi?id=19586
https://issues.dlang.org/show_bug.cgi?id=19586 Issue ID: 19586 Summary: LNK1181 cannot open input file 'phobos-ldc.lib' in VC Project Integration, LDC, and LLVM Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: minor Priority: P1 Component: visuald Assignee: nobody puremagic.com Reporter: ibeam2000 gmail.com When using VC Project Integration with LDC and LLVM, I get the following error LNK1181 cannot open input file 'phobos-ldc.lib' when building a simple example (below) for Debug x64. Release x64 builds. Debug x86 builds. (Release x86 has errors) Simple example D: module test; import std.stdio; extern (C++) int msg(int z); int main() { writeln("D World\n"); writeln(msg(43)); return 41; } Simple example C++: #include "pch.h" #include <iostream> int msg(int z) { std::cout << "C++ World\n"; return 42 + z * 0; } --
Jan 15 2019