I started learning D a few weeks ago and am enjoying it so far. I would like to use SDL with D and found bindbc-sdl, but I cannot figure out how to make it work.

From my understanding, I'll need to use 'dub fetch bindbc-sdl' to download it, and then run 'dub build bindbc-sdl' to build it, before I can use it. Fetching it works, but it always fails to build. I get this error: 'failed launching cl.exe /P /Zc:preprocessor /PD /nologo ... '.

Additionally, a more general question about bindbc, is it possible to skip using dub altogether? Like would placing the bindbc files inside of 'C:\D\dmd2\src\druntime\import' work directly?
  • Using bindbc-sdl... idsize via Digitalmars-d-learn
    • Re: Using b... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Usi... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... ryuukk_ via Digitalmars-d-learn
          • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Usi... idsize via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: Using b... ryuukk_ via Digitalmars-d-learn

Reply via email to