Aktualizację uruchomiłem za pomocą skryptu ./update_and_build.sh
Zaczęło się ściągać i coś tam "kreatować" aż pojawiło się
Code: Select all
create mode 100644 src/supla/sensor/BMP180.h
create mode 100644 src/supla/sensor/BMP280.h
create mode 100644 src/supla/sensor/SCD4x.h
create mode 100644 src/supla/sensor/SGP41.h
create mode 100644 src/supla/sensor/TMP102.h
create mode 100644 src/supla/sensor/container.cpp
create mode 100644 src/supla/sensor/container.h
create mode 100644 src/supla/sensor/particle_meter.h
create mode 100644 src/supla/sensor/particle_meter_pm1006k.h
create mode 100644 src/supla/sensor/particle_meter_sds011.h
create mode 100644 src/supla/sensor/therm_press_meter.cpp
create mode 100644 src/supla/sensor/therm_press_meter.h
-- Using the single-header code from /home/dariusz/supla-device/extras/examples/linux/build/_deps/json-src/single_include/
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
CMake Error in CMakeLists.txt:
The CXX_STANDARD property on target "supla-device-linux" contained an
invalid value: "23".
CMake Generate step failed. Build files cannot be regenerated correctly.
próbowałem również na moim dellu z debianem i tu podczas "budowania" wyskoczyło :
Code: Select all
[ 75%] Building CXX object CMakeFiles/suplalinuxlib.dir/home/wyse/supla-device/extras/porting/linux/linux_network.cpp.o
[ 75%] Building CXX object CMakeFiles/suplalinuxlib.dir/home/wyse/supla-device/extras/porting/linux/linux_yaml_config.cpp.o
In file included from /usr/include/yaml-cpp/yaml.h:20,
from /home/wyse/supla-device/extras/porting/linux/linux_yaml_config.h:73,
from /home/wyse/supla-device/extras/porting/linux/linux_yaml_config.cpp:19:
/usr/include/yaml-cpp/node/detail/impl.h: In instantiation of ‘bool YAML::detail::node::equals(const T&, YAML::detail::shared_memory_holder) [with T = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’:
/usr/include/yaml-cpp/node/detail/impl.h:161:27: required from ‘YAML::detail::node& YAML::detail::node_data::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/detail/node_ref.h:68:24: required from ‘YAML::detail::node& YAML::detail::node_ref::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/detail/node.h:135:30: required from ‘YAML::detail::node& YAML::detail::node::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/impl.h:338:37: required from ‘YAML::Node YAML::Node::operator[](const Key&) [with Key = std::basic_string_view<char>]’
/home/wyse/supla-device/extras/porting/linux/linux_yaml_config.cpp:1499:25: required from here
/usr/include/yaml-cpp/node/detail/impl.h:102:25: error: incomplete type ‘YAML::convert<std::basic_string_view<char> >’ used in nested name specifier
102 | if (convert<T>::decode(Node(*this, pMemory), lhs)) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/yaml-cpp/node/detail/impl.h: In instantiation of ‘static YAML::detail::node& YAML::detail::node_data::convert_to_node(const T&, YAML::detail::shared_memory_holder) [with T = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’:
/usr/include/yaml-cpp/node/detail/impl.h:168:28: required from ‘YAML::detail::node& YAML::detail::node_data::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/detail/node_ref.h:68:24: required from ‘YAML::detail::node& YAML::detail::node_ref::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/detail/node.h:135:30: required from ‘YAML::detail::node& YAML::detail::node::get(const Key&, YAML::detail::shared_memory_holder) [with Key = std::basic_string_view<char>; YAML::detail::shared_memory_holder = std::shared_ptr<YAML::detail::memory_holder>]’
/usr/include/yaml-cpp/node/impl.h:338:37: required from ‘YAML::Node YAML::Node::operator[](const Key&) [with Key = std::basic_string_view<char>]’
/home/wyse/supla-device/extras/porting/linux/linux_yaml_config.cpp:1499:25: required from here
/usr/include/yaml-cpp/node/detail/impl.h:227:34: error: incomplete type ‘YAML::convert<std::basic_string_view<char> >’ used in nested name specifier
227 | Node value = convert<T>::encode(rhs);
| ~~~~~~~~~~~~~~~~~~^~~~~
make[2]: *** [CMakeFiles/suplalinuxlib.dir/build.make:90: CMakeFiles/suplalinuxlib.dir/home/wyse/supla-device/extras/porting/linux/linux_yaml_config.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/suplalinuxlib.dir/all] Błąd 2
make: *** [Makefile:136: all] Błąd 2
