Search code examples
compiler-errorsnim-lang

Nim cannot install a package


Error: cannot open file: nimcuda knowing that I already used the command nimble install nimcuda

and installed it. Windows I use the command "nim c -d:release x.nim" to compile

I have tried to install it again and again but nothing workds.


Solution

  • Reason here

    Reason

    so you should use

    import nimcuda/SUBMODULE
    

    enter image description here