I'm building on Debian Stretch (amd64), works just fine as well.
so long
Hias
I'm building on Debian Stretch (amd64), works just fine as well.
so long
Hias
I try with Ubuntu but now have this error...
QuoteDisplay MoreExecuting (host): cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/toolchain/etc/cmake-x86_64-linux-gnu.conf -DCMAKE_INSTALL_PREFIX=/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/toolchain -Wno-dev /home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder
-- Configuring done
-- Generating done
-- Build files have been written to: /home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/JsonSchemaBuilder-0/.x86_64-linux-gnu
Executing (host): ninja
[0/2] Building CXX object CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B[1/2] Building CXX object CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o
FAILED: CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/toolchain/bin/host-g++ -O2 -Wall -pipe -I/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/toolchain/include -Wno-format-security -std=gnu++11 -MD -MT CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o -MF CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o.d -o CMakeFiles/http://JsonSchemaBuilder.dir/src/JsonSchemaBuilder.cpp.o -c /home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp: In function 'void print_version(std::ifstream&, std::ofstream&)':
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:33:82: error: no matching function for call to 'regex_replace(std::string&, std::regex, const char [1])'
out << regex_replace(line, regex("(\\s+)?JSONRPC_VERSION\\s+|(\\s+)?#.*"), "");
^
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:33:82: note: candidates are:
In file included from /usr/include/c++/4.8/regex:62:0,
from /home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:25:
/usr/include/c++/4.8/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
^
/usr/include/c++/4.8/bits/regex.h:2162:5: note: template argument deduction/substitution failed:
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:33:82: note: deduced conflicting types for parameter '_Bi_iter' ('std::basic_regex<char>' and 'const char*')
out << regex_replace(line, regex("(\\s+)?JSONRPC_VERSION\\s+|(\\s+)?#.*"), "");
^
In file included from /usr/include/c++/4.8/regex:62:0,
from /home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:25:
/usr/include/c++/4.8/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
regex_replace(const basic_string<_Ch_type>& __s,
^
/usr/include/c++/4.8/bits/regex.h:2182:5: note: template argument deduction/substitution failed:
/home/slaserx/http://LibreELEC.tv/build.ITBox-Generic.x86_64-9.0-devel/kodi-f5871d9/tools/depends/native/JsonSchemaBuilder/src/JsonSchemaBuilder.cpp:33:82: note: mismatched types 'const std::basic_string<_Ch_type>' and 'const char [1]'
out << regex_replace(line, regex("(\\s+)?JSONRPC_VERSION\\s+|(\\s+)?#.*"), "");
^
ninja: build stopped: subcommand failed.
make: *** [image] Error 1
slaserx@iptv:~/LibreELEC.tv$