Cloning into 'lua---nnx'... -- The C compiler identification is MSVC 19.0.24215.1 -- The CXX compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Torch7 in C:/data/git/distro-win/install -- Try OpenMP C flag = [/openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:179 (if): if given arguments: "TRUE" An argument named "TRUE" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:224 (_OPENMP_GET_SPEC_DATE) CMakeLists.txt:10 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. -- Try OpenMP CXX flag = [/openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:179 (if): if given arguments: "TRUE" An argument named "TRUE" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.7/Modules/FindOpenMP.cmake:266 (_OPENMP_GET_SPEC_DATE) CMakeLists.txt:10 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenMP: /openmp -- OpenMP Found with compiler flag : /openmp -- Configuring done -- Generating done -- Build files have been written to: C:/Users/joos/AppData/Local/Temp/luarocks_nnx-0.1-1-1335/lua---nnx/build Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. Scanning dependencies of target nnx [ 50%] Building C object CMakeFiles/nnx.dir/init.c.obj init.c c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(60): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(61): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(238): warning C4244: '+=': conversion from 'const double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(239): warning C4244: '+=': conversion from 'const double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(240): warning C4244: '+=': conversion from 'const double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(241): warning C4244: '+=': conversion from 'const double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(219): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(220): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(60): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(61): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(219): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSamplingEx.c(220): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialDownSampling.c(16): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialDownSampling.c(17): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialDownSampling.c(16): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialDownSampling.c(17): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(92): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(93): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(94): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(95): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(98): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(76): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(77): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(195): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(196): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(196): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(197): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(198): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(198): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(199): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(200): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(200): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(201): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(202): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(202): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(176): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(177): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(92): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(93): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(94): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(95): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(76): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(77): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(195): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(196): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(197): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(198): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(199): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(200): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(201): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(202): warning C4244: 'function': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(176): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialReSampling.c(177): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(91): warning C4244: '=': conversion from 'int' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(92): warning C4244: '=': conversion from 'long' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(152): warning C4244: 'initializing': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(153): warning C4244: 'initializing': conversion from 'float' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(152): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMaxSampling.c(153): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DistMarginCriterion.c(118): warning C4244: '=': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(42): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(46): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(56): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(66): warning C4305: 'function': truncation from 'double' to 'float' c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(79): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(84): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(90): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(97): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(147): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(148): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(154): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(155): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(202): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(211): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(228): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialGraph.c(237): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(6): warning C4005: 'max': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1282): note: see previous definition of 'max' c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(7): warning C4005: 'min': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1283): note: see previous definition of 'min' c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(30): warning C4305: 'function': truncation from 'double' to 'float' c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(47): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(48): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(49): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(50): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'y2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'x1': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'k': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(44): warning C4101: 'dist': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'x2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(52): warning C4101: 'dy': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(52): warning C4101: 'dx': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(149): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(150): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(151): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(152): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(47): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(48): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(49): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(50): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'y2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'x1': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'k': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(44): warning C4101: 'dist': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(43): warning C4101: 'x2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(52): warning C4101: 'dy': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(52): warning C4101: 'dx': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(149): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(150): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(151): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialMatching.c(152): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'y2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'x1': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'k': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(37): warning C4101: 'dist': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'y2': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'x1': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(36): warning C4101: 'k': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SpatialRadialMatching.c(37): warning C4101: 'dist': unreferenced local variable c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(24): warning C4244: '=': conversion from 'float' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(44): warning C4244: '=': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(9): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(10): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(11): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(12): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(13): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(14): warning C4244: 'initializing': conversion from 'lua_Number' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(15): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(16): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(31): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(81): warning C4244: '=': conversion from 'float' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(101): warning C4244: '=': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(65): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(66): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(67): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(68): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(69): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(70): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(71): warning C4244: 'initializing': conversion from 'lua_Number' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(72): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(73): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(74): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(88): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(24): warning C4244: '=': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(44): warning C4244: '=': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(9): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(10): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(11): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(12): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(13): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(14): warning C4244: 'initializing': conversion from 'lua_Number' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(15): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(16): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(31): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(81): warning C4244: '=': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(101): warning C4244: '=': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(65): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(66): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(67): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(68): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(69): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(70): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(71): warning C4244: 'initializing': conversion from 'lua_Number' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(72): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(73): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(74): warning C4244: 'initializing': conversion from 'lua_Number' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/DataSetLabelMe.c(88): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SoftMaxTree.c(86): warning C4244: '=': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SoftMaxTree.c(102): warning C4244: 'function': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SoftMaxTree.c(184): warning C4244: '=': conversion from 'double' to 'float', possible loss of data c:\users\joos\appdata\local\temp\luarocks_nnx-0.1-1-1335\lua---nnx\generic/SoftMaxTree.c(215): warning C4244: 'initializing': conversion from 'lua_Number' to 'float', possible loss of data [100%] Linking C shared module libnnx.dll Creating library libnnx.lib and object libnnx.exp init.c.obj : error LNK2019: unresolved external symbol lua_gettop referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_settop referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_tonumber referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_pushnumber referenced in function nn_FloatDistMarginCriterion_updateOutput init.c.obj : error LNK2019: unresolved external symbol lua_pushinteger referenced in function nn_FloatSoftMaxTree_accGradParameters init.c.obj : error LNK2019: unresolved external symbol lua_pushstring referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_gettable referenced in function nn_FloatSoftMaxTree_accGradParameters init.c.obj : error LNK2019: unresolved external symbol lua_getfield referenced in function nn_FloatSoftMaxTree_accGradParameters init.c.obj : error LNK2019: unresolved external symbol lua_rawget referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_rawgeti referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol lua_settable referenced in function nn_FloatSoftMaxTree_accGradParameters init.c.obj : error LNK2019: unresolved external symbol lua_setfield referenced in function nn_FloatDistMarginCriterion_updateOutput init.c.obj : error LNK2019: unresolved external symbol lua_rawset referenced in function nn_FloatDataSetLabelMe_extract init.c.obj : error LNK2019: unresolved external symbol luaL_argerror referenced in function nn_FloatSpatialMaxSampling_updateOutput init.c.obj : error LNK2019: unresolved external symbol luaL_optnumber referenced in function nn_FloatSoftMaxTree_accGradParameters libnnx.dll : fatal error LNK1120: 15 unresolved externals LINK failed. with 1120 NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. Installing https://raw.githubusercontent.com/torch/rocks/master/nnx-0.1-1.rockspec cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="C:/data/git/distro-win/./install/bin/.." -DCMAKE_INSTALL_PREFIX="C:\data\git\distro-win\.\install\luarocks\systree/lib/luarocks/rocks/nnx/0.1-1" && nmake Error: Build error: Failed building.