BTNC / distro-win

Torch installation in a self-contained folder for windows with msvc, and most changes have already been merged to torch/distro. However since torch is decommissioned in favor of pytorch, this repository is no longer maintained.
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

install.bat fails #15

Open LarryK348 opened 7 years ago

LarryK348 commented 7 years ago

I am building with current GitHub version using https://github.com/BTNC/distro-win/blob/master/win-files/README.md instruction. I have VS2015, conda, Git and cmake installed.

install.bat is failing with the following error: +++++++ Installing common lua packages cl /nologo /MD /O2 -c -Fosrc/lfs.obj -IJ:/./install/include src/lfs.c lfs.c src/lfs.c(84): warning C4005: 'luaL_newlib': macro redefinition J:/./install/include\lauxlib.h(125): note: see previous definition of 'luaL_newlib' link -dll -def:lfs.def -out:lfs.dll J:/./install/lib/lua51.lib src/lfs.obj Microsoft (R) Incremental Linker Version 14.00.24213.1 Copyright (C) Microsoft Corporation. All rights reserved.

lfs.obj : warning LNK4197: export 'luaopen_lfs' specified multiple times; using first specification Creating library lfs.lib and object lfs.exp The directory name is invalid.

Error: Failed move: could not delete J:.\install\luarocks\systree/lib/luarocks/rocks/luafilesystem/1.6.3-1/lib/lfs.dll after copy. +++++++ Installation error!

Any suggestions on how to fix this problem?

BTNC commented 7 years ago

Hi, sorry for late response, I haven't supported it for quite some time. It seems you git cloned distro under J: and tried to install everything under J: Git clone and install in a sub-directory under J: may solve it.