After adding ``` "versions": [ "SFML_Audio", "SFML_Graphics", "SFML_250", ] ``` to dub.json it compiles. The sfml library the freebsd os is version : "sfml-2.5.1_2" .