Hello. I am trying to set up the popular deep learning library Torch7 on my
Windows computer. I have had a lot of trouble along the way but eventually
figured most of it out by googling. But now I'm totally stuck. I followed
the instructions here <http://www.thijsschreijer.nl/blog/?p=863> and set up
Lua and Luarocks from scratch, with Mingw. Everything worked fine and I was
able to install rocks, including ones which require compiling like
LuaSocket.

I followed the instructions on the Torch7 <http://torch.ch/> page to
install Torch via luarocks. But it fails building. I do not understand why.

Here is the console output. My best guess is that it has something to do
with `Building for: Visual Studio 9 2008` when I think I want it to use
Mingw.


    PS C:\WINDOWS\system32> luarocks --server=
https://raw.githubusercontent.com/torch/rocks/master install torch
    Installing
https://raw.githubusercontent.com/torch/rocks/master/torch-scm-1.rockspec...
    Using
https://raw.githubusercontent.com/torch/rocks/master/torch-scm-1.rockspec...
switching to 'build' mode

    Missing dependencies for torch:
    paths >= 1.0
    cwrap >= 1.0

    Using
https://raw.githubusercontent.com/torch/rocks/master/paths-scm-1.rockspec...
switching to 'build' mode
    Cloning into 'paths'...
    remote: Counting objects: 10, done.
    remote: Compressing objects: 100% (9/9), done.
    remote: Total 10 (delta 0), reused 6 (delta 0)R
    Receiving objects: 100% (10/10), 12.24 KiB | 0 bytes/s, done.
    Checking connectivity... done.
    cmake -E make_directory build && cd build && cmake ..
-DCMAKE_BUILD_TYPE=Release -DLUALIB=lua51.dll -DLUA_INCDIR="C:/Pro
    gram Files (x86)/Lua/5.1/include/" -DLUA_LIBDIR="C:/Program Files
(x86)/Lua/5.1/" -DLUADIR="C:\Program Files (x86)\LuaRo
    cks\systree/lib/luarocks/rocks/paths/scm-1/lua" -DLIBDIR="C:\Program
Files (x86)\LuaRocks\systree/lib/luarocks/rocks/pat
    hs/scm-1/lib" -DCMAKE_INSTALL_PREFIX="C:\Program Files
(x86)\LuaRocks\systree/lib/luarocks/rocks/paths/scm-1" && mingw32
    -make

    -- Building for: Visual Studio 9 2008
    -- The C compiler identification is MSVC 15.0.30729.1
    -- The CXX compiler identification is MSVC 15.0.30729.1
    -- Check for working C compiler using: Visual Studio 9 2008
    -- Check for working C compiler using: Visual Studio 9 2008 -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler using: Visual Studio 9 2008
    -- Check for working CXX compiler using: Visual Studio 9 2008 -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:

        CMAKE_BUILD_TYPE


    -- Build files have been written to:
C:/Users/Daniel/AppData/Local/Temp/luarocks_paths-scm-1-1059/paths/build
    mingw32-make: *** No targets specified and no makefile found.  Stop.

    Error: Failed installing dependency:
https://raw.githubusercontent.com/torch/rocks/master/paths-scm-1.rockspec -
Build e
    rror: Failed building.

I don't know if this is an issue with torch or luarocks or something I did.
Any help would be greatly appreciated. I have been struggling with getting
this to install this for awhile.

Dan
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to