torch / torch7

http://torch.ch
Other
8.96k stars 2.38k forks source link

cannot load libtorch.dll #1220

Open TSSans-art opened 4 years ago

TSSans-art commented 4 years ago

Following the guide here as best I could (C drive not X, 32 bit), I have reached the stage of testing Torch with

require('torch')
torch.test()

Upon trying to require the torch module I am given this error:

C:\torch\install\lua\torch\init.lua:13: cannot load 'C:\torch\install\libtorch.dll'
stack traceback:
        [C]: in function 'require'
        C:\torch\install\lua\torch\init.lua:13: in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: at 0x003c19a0

torch

libtorch.dll does exist, and the error message doesn't give any reason why it can't load it. I have redone the whole procedure a couple of times now, same result. Googled for similar issues, didn't find any that matched my problem, or if the problem did seems to match a little, like here, the solutions were of no help. At a complete loss on what to do.

TSSans-art commented 4 years ago

Well I give up, everything is the same architecture, I have no idea how to solve this