Use bindbc-sdl statically

russhy russhy at gmail.com
Sat Apr 24 20:10:36 UTC 2021


On Saturday, 24 April 2021 at 19:25:47 UTC, Ishax wrote:
> On Saturday, 24 April 2021 at 18:55:33 UTC, ichneumwn wrote:
>> "Use the lib command. If it's static, lib will show you a pile 
>> of .obj files inside. Not so if it's am implib."
>>
>>     lib /list foo.lib
> This is the output of `lib /list SDL2.lib`
> ```
> Microsoft (R) Library Manager Version 14.28.29913.0
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> SDL2.dll
> SDL2.dll
> ...
> ```
> There's many many lines of just "sdl2.dll"
>
> My files are .lib files.

That must be it, make sure you compile your sdl as static library


More information about the Digitalmars-d-learn mailing list