You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Windows 8.1
cmake version 3.3.0-rc4
luarocks-2.2.2-win32
luajit 2.0.4
Log:
C:\Users\Testificate\Desktop\luarocks\2.2>luarocks --server=https://raw.github.com/torch/rocks/master install paths
Installing https://raw.github.com/torch/rocks/master/paths-scm-1.rockspec...
Using https://raw.github.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 5 (delta 0), pack-reused 0
Receiving objects: 100% (10/10), 12.81 KiB | 0 bytes/s, done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB=lua51.lib -DLUA_INCDIR="C:/Users/Testificate/Deskt
op/luarocks/luajit2.0.4/include/" -DLUA_LIBDIR="C:/Users/Testificate/Desktop/luarocks/luajit2.0.4/lib" -DLUADIR="C:\Users\Testificate\Deskto
p\luarocks\systree/lib/luarocks/rocks/paths/scm-1/lua" -DLIBDIR="C:\Users\Testificate\Desktop\luarocks\systree/lib/luarocks/rocks/paths/scm-
1/lib" -DCMAKE_INSTALL_PREFIX="C:\Users\Testificate\Desktop\luarocks\systree/lib/luarocks/rocks/paths/scm-1" && nmake
-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013
-- Check for working CXX compiler using: Visual Studio 12 2013 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - 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/Testificate/AppData/Local/Temp/luarocks_paths-scm-1-246/paths/build
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
Error: Build error: Failed building.
The text was updated successfully, but these errors were encountered:
By default CMake on Windows generates Visual Studio solution, but luarocks waits for NMake Makefile.
I resolved this issue by additional batch file that calls Cmake.exe with additional parameters:
cmake.cmd
Using Windows 8.1
cmake version 3.3.0-rc4
luarocks-2.2.2-win32
luajit 2.0.4
Log:
The text was updated successfully, but these errors were encountered: