Need importing dcompute.lib into my project
Nicholas Wilson
iamthewilsonator at hotmail.com
Sat Oct 7 09:15:38 UTC 2017
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?
More information about the Digitalmars-d-learn
mailing list