Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion erfordert derzeit den Zugriff auf die Seite über den integrierten Safari-Browser.
root@pibsd:~/vzlogger # make
/usr/local/bin/cmake -S/root/vzlogger -B/root/vzlogger --check-build-system CMakeFiles/Makefile.cmake 0
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Compiling for target ''
-- using clang compiler Clang
-- FindSml check
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- SML_HOME env is not set, setting it to /usr/local
-- Looking for sml in /usr/local
-- FindMBus check
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Looking for libmbus in
-- FindMicrohttpd check
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- MICROHTTPD_HOME env is not set, setting it to /usr/local
-- Looking for microhttpd in /usr/local
-- search for libmosquitto returned /usr/local/lib/libmosquitto.so and /usr/local/include
-- libmosquitto found at /usr/local/lib/libmosquitto.so
-- FindJson check
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- JSON_HOME env is not set, setting it to /usr/local
-- Looking for json in /usr/local
Json-c search: '/usr/local/include;/usr/local/include;/usr/local/include;/usr/include'
Json-c found: '/usr/local/include'
-- FindGnuTls check
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- ==> N ''
-- GNUTLS_HOME env is not set, setting it to /usr/local
-- Looking for gnutls in /usr/local
==> GNUTLS_LIBRARIES=''
-- Could NOT find GNUTLS (missing: GNUTLS_LIBRARIES)
***** Configuration parameters *****
prefix: /usr/local
json: -L/usr/local/lib/libjson-c.a;-lrt -I/usr/local/include
sml: -L/usr/local/lib/libsml.a;-lrt -I/usr/local/include
microhttpd: -L/usr/local/lib/libmicrohttpd.a;-lrt -I/usr/local/include
mqtt: -L/usr/local/lib/libmosquitto.so -I/usr/local/include
-- Configuring done
-- Generating done
-- Build files have been written to: /root/vzlogger
/usr/local/bin/cmake -E cmake_progress_start /root/vzlogger/CMakeFiles /root/vzlogger//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f src/CMakeFiles/vz.dir/build.make src/CMakeFiles/vz.dir/depend
cd /root/vzlogger && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/vzlogger /root/vzlogger/src /root/vzlogger /root/vzlogger/src /root/vzlogger/src/CMakeFiles/vz.dir/DependInfo.cmake --color=
make -f src/CMakeFiles/vz.dir/build.make src/CMakeFiles/vz.dir/build
[ 2%] Building CXX object src/CMakeFiles/vz.dir/Channel.cpp.o
cd /root/vzlogger/src && /usr/bin/c++ -DHAVE_CONFIG_HPP -I/usr/local/include -I/root/vzlogger -I/root/vzlogger/include -W -Wall -Wextra -Werror -Wno-parentheses -Wno-unused-parameter -Wno-unused-variable -Wno-constant-logical-operand -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -g3 -MD -MT src/CMakeFiles/vz.dir/Channel.cpp.o -MF CMakeFiles/vz.dir/Channel.cpp.o.d -o CMakeFiles/vz.dir/Channel.cpp.o -c /root/vzlogger/src/Channel.cpp
In file included from /root/vzlogger/src/Channel.cpp:33:
In file included from /root/vzlogger/include/common.h:15:
/root/vzlogger/include/shared_ptr.hpp:36:10: fatal error: 'tr1/memory' file not found
#include <tr1/memory>
^~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /root/vzlogger
*** Error code 1
Stop.
make[1]: stopped in /root/vzlogger
*** Error code 1
Stop.
make: stopped in /root/vzlogger
root@pibsd:~/vzlogger #
Wäre nett, wenn Du gleich verlinken würdest welches Projekt gemeint ist, damit man sich das nicht erst raussuchen muss.hat schon mal einer vzlogger zum laufen bekommen?
make
?root@pibsd:~/vzlogger # make
/usr/local/bin/cmake -S/root/vzlogger -B/root/vzlogger --check-build-system CMakeFiles/Makefile.cmake 0
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Compiling for target ''
-- using clang compiler Clang
-- FindSml check
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.8.0")
-- Checking for module 'sml>=1.0'
-- Package 'sml', required by 'virtual:world', not found
-- SML_HOME env is not set, setting it to /usr/local
-- Looking for sml in /usr/local
-- FindMBus check
-- Checking for module 'libmbus>=0.8.0'
-- Package 'libmbus', required by 'virtual:world', not found
-- Looking for libmbus in
-- FindMicrohttpd check
-- Checking for module 'microhttpd>=0.9'
-- Package 'microhttpd', required by 'virtual:world', not found
-- MICROHTTPD_HOME env is not set, setting it to /usr/local
-- Looking for microhttpd in /usr/local
-- search for libmosquitto returned /usr/local/lib/libmosquitto.so and /usr/local/include
-- libmosquitto found at /usr/local/lib/libmosquitto.so
-- FindJson check
-- Checking for module 'json-c>=0.12'
-- Found json-c, version 0.16
-- JSON_HOME env is not set, setting it to /usr/local
-- Looking for json in /usr/local
Json-c search: '/usr/local/include;/usr/local/include;/usr/local/include;/usr/include'
Json-c found: '/usr/local/include'
-- FindGnuTls check
-- Checking for module 'gnutls>=2.8'
-- Found gnutls, version 3.7.8
-- ==> ''
-- GNUTLS_HOME env is not set, setting it to /usr/local
-- Looking for gnutls in /usr/local
==> GNUTLS_LIBRARIES='-lgnutls;/usr/local/lib/libgmp.a;-lunistring;/usr/local/lib/libnettle.a;/usr/local/lib/libhogweed.a;/usr/local/lib/libgmp.a;/usr/local/lib/libnettle.a;/usr/local/lib/libtasn1.a;/usr/local/lib/libidn2.a;-lunistring;-lp11-kit;/usr/lib/libz.a;-lsasl2;-lgcrypt'
-- Found GNUTLS: -lgnutls;/usr/local/lib/libgmp.a;-lunistring;/usr/local/lib/libnettle.a;/usr/local/lib/libhogweed.a;/usr/local/lib/libgmp.a;/usr/local/lib/libnettle.a;/usr/local/lib/libtasn1.a;/usr/local/lib/libidn2.a;-lunistring;-lp11-kit;/usr/lib/libz.a;-lsasl2;-lgcrypt
***** Configuration parameters *****
prefix: /usr/local
json: -L/usr/local/lib/libjson-c.a;-lrt -I/usr/local/include
sml: -L/usr/local/lib/libsml.a;-lrt -I/usr/local/include
microhttpd: -L/usr/local/lib/libmicrohttpd.a;-lrt -I/usr/local/include
mqtt: -L/usr/local/lib/libmosquitto.so -I/usr/local/include
-- Configuring done
-- Generating done
-- Build files have been written to: /root/vzlogger
/usr/local/bin/cmake -E cmake_progress_start /root/vzlogger/CMakeFiles /root/vzlogger//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f src/CMakeFiles/vz.dir/build.make src/CMakeFiles/vz.dir/depend
cd /root/vzlogger && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /root/vzlogger /root/vzlogger/src /root/vzlogger /root/vzlogger/src /root/vzlogger/src/CMakeFiles/vz.dir/DependInfo.cmake --color=
make -f src/CMakeFiles/vz.dir/build.make src/CMakeFiles/vz.dir/build
[ 2%] Building CXX object src/CMakeFiles/vz.dir/Channel.cpp.o
cd /root/vzlogger/src && /usr/bin/c++ -DHAVE_CONFIG_HPP -I/usr/local/include -I/root/vzlogger -I/root/vzlogger/include -W -Wall -Wextra -Werror -Wno-parentheses -Wno-unused-parameter -Wno-unused-variable -Wno-constant-logical-operand -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -g3 -MD -MT src/CMakeFiles/vz.dir/Channel.cpp.o -MF CMakeFiles/vz.dir/Channel.cpp.o.d -o CMakeFiles/vz.dir/Channel.cpp.o -c /root/vzlogger/src/Channel.cpp
In file included from /root/vzlogger/src/Channel.cpp:33:
In file included from /root/vzlogger/include/common.h:15:
/root/vzlogger/include/shared_ptr.hpp:36:10: fatal error: 'tr1/memory' file not found
#include <tr1/memory>
^~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /root/vzlogger
*** Error code 1
Stop.
make[1]: stopped in /root/vzlogger
*** Error code 1
Stop.
make: stopped in /root/vzlogger
root@pibsd:~/vzlogger #
root@pibsd:~/vzlogger # pkg search libstdc++
pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: Invalid regex
root@pibsd:~/vzlogger # pkg search libstdc
libstdc++_stldoc_4.2.2-20071101_1 GNU libstdc++ API documentation
root@pibsd:~/vzlogger #
Im Prinzip brauchst Du es ja nur zu installieren viaBoost habe ich mir angeschaut. Da komme ich auf keinen grünen Zweig.
pkg install boost-libs
#include <tr1/memory>
#include <memory>
Dafür sind eher Editor-Kenntnisse gefragt. ;-)Das übersteigt meine C++ Kenntnisse.
In file included from /root/vzlogger/src/Channel.cpp:33:
In file included from /root/vzlogger/include/common.h:15:
/root/vzlogger/include/shared_ptr.hpp:43:14: error: no member named 'tr1' in namespace 'std'
using ::std::tr1::enable_shared_from_this;
~~~~~~~^
/root/vzlogger/include/shared_ptr.hpp:44:14: error: no member named 'tr1' in namespace 'std'
using ::std::tr1::shared_ptr;
~~~~~~~^
In file included from /root/vzlogger/src/Channel.cpp:35:
In file included from /root/vzlogger/include/Channel.hpp:32:
In file included from /root/vzlogger/include/Buffer.hpp:35:
/root/vzlogger/include/Reading.hpp:44:10: error: no template named 'shared_ptr' in namespace 'vz'; did you mean 'std::shared_ptr'?
typedef vz::shared_ptr<ReadingIdentifier> Ptr;
^~~~~~~~~~~~~~
std::shared_ptr
/usr/include/c++/v1/__memory/shared_ptr.h:422:59: note: 'std::shared_ptr' declared here
class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr
^
In file included from /root/vzlogger/src/Channel.cpp:35:
In file included from /root/vzlogger/include/Channel.hpp:32:
In file included from /root/vzlogger/include/Buffer.hpp:35:
/root/vzlogger/include/Reading.hpp:71:10: error: no template named 'shared_ptr' in namespace 'vz'; did you mean 'std::shared_ptr'?
typedef vz::shared_ptr<ObisIdentifier> Ptr;
^~~~~~~~~~~~~~
std::shared_ptr
/usr/include/c++/v1/__memory/shared_ptr.h:422:59: note: 'std::shared_ptr' declared here
class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr
^
In file included from /root/vzlogger/src/Channel.cpp:35:
In file included from /root/vzlogger/include/Channel.hpp:32:
In file included from /root/vzlogger/include/Buffer.hpp:35:
/root/vzlogger/include/Reading.hpp:166:10: error: no template named 'shared_ptr' in namespace 'vz'; did you mean 'std::shared_ptr'?
typedef vz::shared_ptr<Reading> Ptr;
^~~~~~~~~~~~~~
std::shared_ptr
/usr/include/c++/v1/__memory/shared_ptr.h:422:59: note: 'std::shared_ptr' declared here
class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr
^
In file included from /root/vzlogger/src/Channel.cpp:35:
In file included from /root/vzlogger/include/Channel.hpp:32:
/root/vzlogger/include/Buffer.hpp:40:10: error: no template named 'shared_ptr' in namespace 'vz'; did you mean 'std::shared_ptr'?
typedef vz::shared_ptr<Buffer> Ptr;
^~~~~~~~~~~~~~
std::shared_ptr
/usr/include/c++/v1/__memory/shared_ptr.h:422:59: note: 'std::shared_ptr' declared here
class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr
^
In file included from /root/vzlogger/src/Channel.cpp:35:
/root/vzlogger/include/Channel.hpp:41:10: error: no template named 'shared_ptr' in namespace 'vz'; did you mean 'std::shared_ptr'?
typedef vz::shared_ptr<Channel> Ptr;
^~~~~~~~~~~~~~
std::shared_ptr
/usr/include/c++/v1/__memory/shared_ptr.h:422:59: note: 'std::shared_ptr' declared here
class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr
^
7 errors generated.
*** Error code 1
Stop.
make[2]: stopped in /root/vzlogger
*** Error code 1
Stop.
make[1]: stopped in /root/vzlogger
*** Error code 1
Stop.
make: stopped in /root/vzlogger
Bevor ich da überhaupt ein Blick drauf werfe, beantworte doch erst mal die noch ausstehenden Fragen/Punkte.Okay, über den ersten Fehler bin ich drüber weg.
make
eintippen wirds ja wohl kaum gewesen sein.Das war unter anderem ne Info die bisher gefehlt hat.Das Paket boost-libs habe ich auch installiert.
Bei Deinen knappest möglichen Ausführungen hier bekommt man aber nicht gerade den Eindruck, als wärst Du sonderlich hinter einer Lösung her (wer nicht bereit ist Zeit in eine Fehler- und Setupbeschreibung zu investieren, warum sollte der dann bereit sein in eine Lösung zu investieren?).Wenn ich das nicht ernst meine, dann würde ich hier nicht schreiben.
Klar, dass kann ich verstehen und würde ich auch nicht anders machen.Ist doch verständlich, oder nicht?
2 5:42 pkg install pkgconf-1.8.0_1,1
14 6:22 pkg install libsml-0.1.1_1
20 6:36 pkg install git-2.39.1
22 6:38 pkg install cmake-3.24.3
37 7:20 pkg install json-c-0.16
40 7:22 pkg install libmicrohttpd-0.9.75
43 7:24 pkg install mosquitto-2.0.13
46 7:27 pkg install p5-PkgConfig-0.25026
49 7:28 pkg install libgcrypt-1.9.4_1
66 6:22 pkg install libsml-0.1.1_1
74 6:38 pkg install cmake-3.24.3
101 7:28 pkg install libgcrypt-1.9.4_1
110 5:42 pkg install pkgconf-1.8.0_1,1
144 6:06 pkg install boost-all-1.80.0
gcc12
pkg install gcc12
pkg search gcc
)cmake -DBUILD_TEST=off -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++
Wir verwenden essentielle Cookies, damit diese Website funktioniert, und optionale Cookies, um den Komfort bei der Nutzung zu verbessern.
Siehe weitere Informationen und konfiguriere deine Einstellungen