Created
October 16, 2021 09:04
-
-
Save Lunarequest/9f8585f82b4d5ad6d870e43aa9a4e254 to your computer and use it in GitHub Desktop.
webcamoid flatpak build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -Wl,-O1 -shared -o libv4l2sys.so release/Qt5.15.3/gpp/x86_64/obj/plugin.o release/Qt5.15.3/gpp/x86_64/obj/capturev4l2.o release/Qt5.15.3/gpp/x86_64/obj/capture.o -L/run/build/webcamoid/libAvKys/Plugins/VideoCapture/src/v4l2sys/../../../../Lib/release/Qt5.15.3/gpp/x86_64/bin -lavkys /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Qml.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread | |
src/image/videoformat.cpp: In member function ‘AkVCam::VideoFormat AkVCam::VideoFormat::nearest(const std::vector<AkVCam::VideoFormat>&) const’: | |
src/image/videoformat.cpp:289:19: error: ‘numeric_limits’ is not a member of ‘std’ | |
289 | auto q = std::numeric_limits<uint64_t>::max(); | |
| ^~~~~~~~~~~~~~ | |
src/image/videoformat.cpp:289:42: error: expected primary-expression before ‘>’ token | |
289 | auto q = std::numeric_limits<uint64_t>::max(); | |
| ^ | |
src/image/videoformat.cpp:289:45: error: ‘::max’ has not been declared; did you mean ‘std::max’? | |
289 | auto q = std::numeric_limits<uint64_t>::max(); | |
| ^~~ | |
| std::max | |
In file included from /usr/include/c++/11.2.0/algorithm:62, | |
from src/image/videoformat.cpp:21: | |
/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here | |
3467 | max(initializer_list<_Tp> __l, _Compare __comp) | |
| ^~~ | |
make[4]: *** [Makefile:634: release/Qt5.15.3/gpp/x86_64/obj/videoformat.o] Error 1 | |
make[4]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VirtualCamera/src/VCamUtils' | |
make[3]: *** [Makefile:49: sub-src-VCamUtils-make_first-ordered] Error 2 | |
make[3]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VirtualCamera' | |
make[2]: *** [Makefile:304: sub-VirtualCamera-make_first] Error 2 | |
make[2]: *** Waiting for unfinished jobs.... | |
g++ -c -pipe -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DCOMMONS_APPNAME="\"libAvKys\"" -DCOMMONS_TARGET="\"avkys\"" -DCOMMONS_VER_MAJ="\"8\"" -DCOMMONS_VERSION="\"8.8.0\"" -DPREFIX="\"/app\"" -DEXECPREFIX="\"/app\"" -DBINDIR="\"/app/bin\"" -DSBINDIR="\"/app/sbin\"" -DLIBEXECDIR="\"/app/libexec\"" -DDATAROOTDIR="\"/app/share\"" -DDATDIR="\"/app/share/avkys\"" -DSYSCONFDIR="\"/app/etc\"" -DSHAREDSTATEDIR="\"/app/com\"" -DLOCALSTATEDIR="\"/app/var\"" -DINCLUDEDIR="\"/app/include\"" -DDOCDIR="\"/app/share/doc/avkys\"" -DINFODIR="\"/app/share/info\"" -DHTMLDIR="\"/app/share/doc/avkys/html\"" -DDVIDIR="\"/app/share/doc/avkys/dvi\"" -DPDFDIR="\"/app/share/doc/avkys/pdf\"" -DPSDIR="\"/app/share/doc/avkys/ps\"" -DLIBDIR="\"/app/lib/x86_64-linux-gnu\"" -DLOCALEDIR="\"/app/share/locale\"" -DMANDIR="\"/app/share/man\"" -DLICENSEDIR="\"/app/share/licenses/avkys\"" -DLOCALDIR="\"/app/local\"" -DLOCALLIBDIR="\"/app/local/lib\"" -DINSTALLQMLDIR="\"/usr/lib/qml\"" -DINSTALLPLUGINSDIR="\"/app/lib/x86_64-linux-gnu/avkys\"" -DQT_DEPRECATED_WARNINGS -DHAS_HOTPLUG -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I../../../../Lib/src -I.. -I/app/include/libusb-1.0 -I/usr/include/QtGui -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtConcurrent -I/usr/include/QtCore -Irelease/Qt5.15.3/gpp/x86_64/moc -I/usr/lib/mkspecs/linux-g++ -o release/Qt5.15.3/gpp/x86_64/obj/capture.o ../capture.cpp | |
mv -f libv4l2sys.so ../../release/Qt5.15.3/gpp/x86_64/bin/submodules/VideoCapture/libv4l2sys.so | |
make[4]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VideoCapture/src/v4l2sys' | |
rm -f liblibuvc.so | |
g++ -Wl,-O1 -shared -o liblibuvc.so release/Qt5.15.3/gpp/x86_64/obj/plugin.o release/Qt5.15.3/gpp/x86_64/obj/capturelibuvc.o release/Qt5.15.3/gpp/x86_64/obj/capture.o release/Qt5.15.3/gpp/x86_64/obj/usbids.o release/Qt5.15.3/gpp/x86_64/obj/usbglobals.o release/Qt5.15.3/gpp/x86_64/obj/qrc_libuvc.o release/Qt5.15.3/gpp/x86_64/obj/moc_usbids.o release/Qt5.15.3/gpp/x86_64/obj/moc_usbglobals.o -L/run/build/webcamoid/libAvKys/Plugins/VideoCapture/src/libuvc/../../../../Lib/release/Qt5.15.3/gpp/x86_64/bin -lavkys -L/app/lib -L/app/lib/x86_64-linux-gnu -luvc -lusb-1.0 /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Qml.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Concurrent.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread | |
mv -f liblibuvc.so ../../release/Qt5.15.3/gpp/x86_64/bin/submodules/VideoCapture/liblibuvc.so | |
make[4]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VideoCapture/src/libuvc' | |
make[3]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins/VideoCapture' | |
make[2]: Leaving directory '/run/build/webcamoid/libAvKys/Plugins' | |
make[1]: *** [Makefile:135: sub-Plugins-make_first-ordered] Error 2 | |
make[1]: Leaving directory '/run/build/webcamoid/libAvKys' | |
make: *** [Makefile:48: sub-libAvKys-make_first-ordered] Error 2 | |
Error: module webcamoid: Child process exited with code 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment