On Friday, 14 April 2023 at 02:33:18 UTC, Salih Dincer wrote:
On Friday, 14 April 2023 at 00:28:53 UTC, Ki Rill wrote:
```
LINK : fatal error LNK1104: cannot open file 'libucrt.lib'
Error: linker exited with status 1104
```

Why does it require this library and where can I find it?

Since this library is a component of the Microsoft C Runtime (CRT) library, you may need to install this library.

To install the CRT library, follow these steps:

* Download and install the latest version of Microsoft Visual Studio. * In the Visual Studio installer, install the "C++ Universal CRT" component under "Workloads > Desktop development with C++".
* Restart the build and check if the error is resolved.

**Source:** https://stackoverflow.com/questions/44763817/link-fatal-error-lnk1104-cannot-open-file-ucrt-lib

SDB@79

Yay! That worked! Now I have a working example. Though it's strange that it does not work with shared libs.
  • How to setup D w... Ki Rill via Digitalmars-d-learn
    • Re: How to ... Mike Parker via Digitalmars-d-learn
      • Re: How... Salih Dincer via Digitalmars-d-learn
      • Re: How... Ki Rill via Digitalmars-d-learn
        • Re:... Mike Parker via Digitalmars-d-learn
          • ... Ki Rill via Digitalmars-d-learn
            • ... Salih Dincer via Digitalmars-d-learn
              • ... Ki Rill via Digitalmars-d-learn
                • ... Salih Dincer via Digitalmars-d-learn
                • ... Ki Rill via Digitalmars-d-learn
                • ... Salih Dincer via Digitalmars-d-learn
    • Re: How to ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to