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

Mike Parker aldacron at gmail.com
Sat Apr 8 23:40:32 UTC 2023


On Saturday, 8 April 2023 at 11:31:40 UTC, Ki Rill wrote:
> How do I set up a D and SFML project using the `bindbc-sfml` 
> package?
>
> I tried following the instructions, it builds successfully, but 
> fails to load the SFML library at runtime.
>
> In particular, `loadSFML, loadSFMLGraphics, loadSFMLXXX` fails. 
> Here is 
> [link](https://github.com/rillki/d-sfml-project-template) to 
> the repo. I plan to create another how-to video, but I cannot 
> find what's causing it to fail.
>
> Do you have any ideas?

Not without error messages. The first thing you should do is use 
the error API in bindbc.loader to print them out. That should 
tell you what the problem is.


More information about the Digitalmars-d-learn mailing list