Re: bindbc.sfml , sfVideoMode , Error: undefined identifier

2021-05-08 Thread Alain De Vos via Digitalmars-d-learn
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" .

Re: bindbc.sfml , sfVideoMode , Error: undefined identifier

2021-05-08 Thread Dennis via Digitalmars-d-learn
On Saturday, 8 May 2021 at 09:05:18 UTC, Alain De Vos wrote: I must doing something wrong ? Did you define the `SFML_Graphics` version like in the README of bindbc-sfml?

bindbc.sfml , sfVideoMode , Error: undefined identifier

2021-05-08 Thread Alain De Vos via Digitalmars-d-learn
I try this, ``` import bindbc.sfml; import bindbc.sfml.config; import bindbc.sfml.system; import bindbc.sfml.window; void main(){ bool ret=loadSFML(); sfVideoMode m=sfVideoMode(800, 600,24); } ``` But dub gives undefined identifier sdVideoMode. Although,