On Saturday, 7 October 2017 at 09:04:26 UTC, kerdemdemir wrote:
You should add DCompute as a DUB dependancy.

Hi,

I inited my project with Dub by unsing "dub init DSharpEar" and I added dependency "dcompute".

Even I give extra parameters for using ldc.

 dub build --compiler=D:\LDCDownload\bin\ldc2.exe --force

I am getting :

Error: static assert  "Need to use a DCompute enabled compiler"

Any suggestions?

Regards
Erdem

do you set "-mdcompute-targets=cuda-xxx" in the dflags for your dub.json for your project?

Reply via email to