How to setup D with SFML? (using bindbc-sfml)

Ki Rill rill.ki at yahoo.com
Fri Apr 14 12:26:25 UTC 2023


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 at 79

Yay! That worked! Now I have a working example. Though it's 
strange that it does not work with shared libs.


More information about the Digitalmars-d-learn mailing list