[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: To all Lua rock maintainers (also included considerations on Lua's ecosystem and a Lua distribution)
- From: Stefano <phd.st.p@...>
- Date: Mon, 7 Sep 2015 19:23:13 +0100
On 7 September 2015 at 14:17, Xpol Wan <xpolife@gmail.com> wrote:
> There is few (fix me if I was wrong) luarocks module using cmake, my little
> rapidjson is one of them.
>
> The error messages said:
>
>> Error: Build error: 'cmake' program not found. Is cmake installed? You may
>> want to edit variables.CMAKE
>
> Did the OSX and Linux build system have cmake installed?
I am aware of the issue, that's why I was being ironic about variety
of build system in my first e-mail...
I had cmake installed only on Windows, now it's installed on Linux and
OSX as well.
You rock now builds on Linux, but it still fails on Windows (Cmake
error) and OSX (compile error).
For your convenience I report below the errors.
Thanks for checking.
Stefano
--------- Windows ---------------
-- Building for: Visual Studio 14 2015
-- The C compiler identification is MSVC 19.0.23026.0
-- The CXX compiler identification is MSVC 19.0.23026.0
-- Check for working C compiler using: Visual Studio 14 2015
-- Check for working C compiler using: Visual Studio 14 2015 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 14 2015
-- Check for working CXX compiler using: Visual Studio 14 2015 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Using LUALIB:C:/ste/luarocks/2.2lua51.lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/sp/AppData/Local/Temp/luarocks_rap
idjson-0.2.1-1-218/rapidjson/build.luarocks
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 9/7/2015 7:03:47 PM.
Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjso
n\build.luarocks\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjso
n\build.luarocks\ALL_BUILD.vcxproj" (1) is building "C:\Users\sp\AppData\Local\
Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.luarocks\ZERO_CHECK.vcxproj
" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Win32\Release\ZERO_CHECK\".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targe
ts(400,5): warning MSB8029: The Intermediate directory or Output directory cann
ot reside under the Temporary directory as it could lead to issues with increme
ntal build. [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapi
djson\build.luarocks\ZERO_CHECK.vcxproj]
Creating directory "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1
-218\rapidjson\build.luarocks\Release\".
Creating directory "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
Creating "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
CustomBuild:
Checking Build System
CMake does not need to re-run because C:/Users/sp/AppData/Local/Temp/luarocks
_rapidjson-0.2.1-1-218/rapidjson/build.luarocks/CMakeFiles/generate.stamp is
up-to-date.
FinalizeBuildStatus:
Deleting file "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate"
.
Done Building Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-
1-218\rapidjson\build.luarocks\ZERO_CHECK.vcxproj" (default targets).
Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjso
n\build.luarocks\ALL_BUILD.vcxproj" (1) is building "C:\Users\sp\AppData\Local\
Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.luarocks\json.vcxproj" (3)
on node 1 (default targets).
PrepareForBuild:
Creating directory "json.dir\Release\".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targe
ts(400,5): warning MSB8029: The Intermediate directory or Output directory cann
ot reside under the Temporary directory as it could lead to issues with increme
ntal build. [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapi
djson\build.luarocks\json.vcxproj]
Creating directory "json.dir\Release\json.tlog\".
InitializeBuildStatus:
Creating "json.dir\Release\json.tlog\unsuccessfulbuild" because "AlwaysCreate
" was specified.
CustomBuild:
Building Custom Rule C:/Users/sp/AppData/Local/Temp/luarocks_rapidjson-0.2.1-
1-218/rapidjson/CMakeLists.txt
CMake does not need to re-run because C:\Users\sp\AppData\Local\Temp\luarocks
_rapidjson-0.2.1-1-218\rapidjson\build.luarocks\CMakeFiles\generate.stamp is
up-to-date.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /IC:\ste
\luarocks\2.2\include /I"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.
2.1-1-218\rapidjson\rapidjson\include" /nologo /W3 /WX- /O2 /Ob2 /Oy- /D WIN3
2 /D _WINDOWS /D NDEBUG /D "LUA_RAPIDJSON_VERSION=\"0.2.1-1\"" /D LUA_BUILD_A
S_DLL /D LUA_LIB /D "CMAKE_INTDIR=\"Release\"" /D json_EXPORTS /D _WINDLL /D
_MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR
/Fo"json.dir\Release\\" /Fd"json.dir\Release\vc140.pdb" /Gd /TP /analyze- /er
rorReport:queue "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-21
8\rapidjson\src\rapidjson.cpp"
rapidjson.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe /ERRORREP
ORT:QUEUE /OUT:"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218
\rapidjson\build.luarocks\Release\rapidjson.dll" /INCREMENTAL:NO /NOLOGO kern
el32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib comdlg32.lib advapi32.lib C:\ste\luarocks\2.2lua51.lib /MANIFEST /M
ANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/User
s/sp/AppData/Local/Temp/luarocks_rapidjson-0.2.1-1-218/rapidjson/build.luaroc
ks/Release/rapidjson.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/Users/sp/AppData/Local/Temp/luarocks_rapidjson-0.2.1-1-218/rapidj
son/build.luarocks/Release/rapidjson.lib" /MACHINE:X86 /SAFESEH /machine:X86
/DLL json.dir\Release\rapidjson.obj
LINK : fatal error LNK1181: cannot open input file 'C:\ste\luarocks\2.2lua51.li
b' [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\bui
ld.luarocks\json.vcxproj]
Done Building Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-
1-218\rapidjson\build.luarocks\json.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-
1-218\rapidjson\build.luarocks\ALL_BUILD.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\ZERO_CHECK.vcxproj" (default target) (2) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.tar
gets(400,5): warning MSB8029: The Intermediate directory or Output directory ca
nnot reside under the Temporary directory as it could lead to issues with incre
mental build. [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\ra
pidjson\build.luarocks\ZERO_CHECK.vcxproj]
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\json.vcxproj" (default target) (3) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.tar
gets(400,5): warning MSB8029: The Intermediate directory or Output directory ca
nnot reside under the Temporary directory as it could lead to issues with incre
mental build. [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\ra
pidjson\build.luarocks\json.vcxproj]
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\build.
luarocks\json.vcxproj" (default target) (3) ->
(Link target) ->
LINK : fatal error LNK1181: cannot open input file 'C:\ste\luarocks\2.2lua51.
lib' [C:\Users\sp\AppData\Local\Temp\luarocks_rapidjson-0.2.1-1-218\rapidjson\b
uild.luarocks\json.vcxproj]
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.99
Error: Build error: Failed building.
---------- OSX ----------------------
Warning: skipping dependency checks.
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:469:16:
error: implicit instantiation of undefined template
'std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >'
std::string s("can't encode ");
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:188:33:
note: template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:572:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:484:5:
note: in instantiation of function template specialization
'Encoder::encodeArray<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeArray(L, writer) :
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:525:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -2);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:485:5:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeObject(L, writer);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:553:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:506:4:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeObject(L, writer, keys);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:572:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:484:5:
note: in instantiation of function template specialization
'Encoder::encodeArray<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeArray(L, writer) :
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:525:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -2);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:485:5:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeObject(L, writer);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:553:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:506:4:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
encodeObject(L, writer, keys);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator> >' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:605:14:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator> >' requested here
if (!encode.encode(L, &s, 1))
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>,
rapidjson::CrtAllocator>, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:572:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:484:5:
note: in instantiation of function template specialization
'Encoder::encodeArray<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeArray(L, writer) :
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>,
rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:525:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -2);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:485:5:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeObject(L, writer);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>,
rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:553:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:506:4:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeObject(L, writer, keys);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:588:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::PrettyWriter<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>,
rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:572:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:484:5:
note: in instantiation of function template specialization
'Encoder::encodeArray<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeArray(L, writer) :
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::FileWriteStream, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:525:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -2);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:485:5:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeObject(L, writer);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::FileWriteStream, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:553:14:
error: no matching member function for call to 'encodeValue'
bool ok = encodeValue(L, writer, -1);
^~~~~~~~~~~
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:506:4:
note: in instantiation of function template specialization
'Encoder::encodeObject<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
encodeObject(L, writer, keys);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:455:11:
note: in instantiation of function template specialization
'Encoder::encodeTable<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeTable(L, writer, -1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:593:11:
note: in instantiation of function template specialization
'Encoder::encodeValue<rapidjson::Writer<rapidjson::FileWriteStream,
rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>
>' requested here
return encodeValue(L, &writer, idx);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:632:20:
note: in instantiation of function template specialization
'Encoder::encode<rapidjson::FileWriteStream>' requested here
bool ok = encoder.encode(L, &fs, 1);
^
/tmp/luarocks_rapidjson-0.2.1-1-5543/rapidjson/src/rapidjson.cpp:432:7:
note: candidate template ignored: substitution failure [with Writer =
rapidjson::Writer<rapidjson::FileWriteStream, rapidjson::UTF8<char>,
rapidjson::UTF8<char>, rapidjson::CrtAllocator>]
bool encodeValue(lua_State* L, Writer* writer, int idx)
^
13 errors generated.
make[2]: *** [CMakeFiles/json.dir/src/rapidjson.cpp.o] Error 1
make[1]: *** [CMakeFiles/json.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.