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
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
`[root@4d9621cf6ce5 build]# cmake ..
-- The CXX compiler identification is Intel 19.1.0.20200306
-- Check for working CXX compiler: /opt/intel/sw_dev_tools/compilers_and_libraries_2020.1.219/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/intel/sw_dev_tools/compilers_and_libraries_2020.1.219/linux/bin/intel64/icpc - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/boost/include (found version "1.69.0") found components: unit_test_framework system program_options
-- Found CURL: /usr/local/lib64/libcurl.so (found version "7.70.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Installation/influxdb-cxx-master/build
[root@4d9621cf6ce5 build]# make
Scanning dependencies of target InfluxDB
[ 14%] Building CXX object CMakeFiles/InfluxDB.dir/src/InfluxDB.cxx.o
/root/Installation/influxdb-cxx-master/src/InfluxDB.cxx(112): error: no suitable constructor exists to convert from "double" to "std::variant<int, long long, std::string, double>"
try { point.addField(column, boost::lexical_cast(value)); }
^
`[root@4d9621cf6ce5 build]# cmake ..
-- The CXX compiler identification is Intel 19.1.0.20200306
-- Check for working CXX compiler: /opt/intel/sw_dev_tools/compilers_and_libraries_2020.1.219/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/intel/sw_dev_tools/compilers_and_libraries_2020.1.219/linux/bin/intel64/icpc - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/boost/include (found version "1.69.0") found components: unit_test_framework system program_options
-- Found CURL: /usr/local/lib64/libcurl.so (found version "7.70.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Installation/influxdb-cxx-master/build
[root@4d9621cf6ce5 build]# make
Scanning dependencies of target InfluxDB
[ 14%] Building CXX object CMakeFiles/InfluxDB.dir/src/InfluxDB.cxx.o
/root/Installation/influxdb-cxx-master/src/InfluxDB.cxx(112): error: no suitable constructor exists to convert from "double" to "std::variant<int, long long, std::string, double>"
try { point.addField(column, boost::lexical_cast(value)); }
^
compilation aborted for /root/Installation/influxdb-cxx-master/src/InfluxDB.cxx (code 2)
make[2]: *** [CMakeFiles/InfluxDB.dir/src/InfluxDB.cxx.o] Error 2
make[1]: *** [CMakeFiles/InfluxDB.dir/all] Error 2
make: *** [all] Error 2
`
The text was updated successfully, but these errors were encountered: