Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: libavcodec/avcodec.h (Opensuse Tumbleweed Qt version 5.15.10) #52

Open
Soyasi opened this issue Jul 8, 2023 · 1 comment

Comments

@Soyasi
Copy link

Soyasi commented Jul 8, 2023

22:56:47: Running steps for project qtcam...
22:56:47: Configuration unchanged, skipping qmake step.
22:56:47: Starting: "/usr/bin/make" -j16
Makefile:2093: warning: overriding recipe for target 'install_itemfolder_01'
Makefile:2084: warning: ignoring old recipe for target 'install_itemfolder_01'
Makefile:2097: warning: overriding recipe for target 'uninstall_itemfolder_01'
Makefile:2088: warning: ignoring old recipe for target 'uninstall_itemfolder_01'
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cameraproperty.o cameraproperty.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o videostreaming.o videostreaming.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o seecam_cu50.o seecam_cu50.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o videoencoder.o videoencoder.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o h264decoder.o h264decoder.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o uvcExtCx3sni.o uvcExtCx3sni.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o keyEventReceive.o keyEventReceive.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o see3cam_27cug.o see3cam_27cug.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o h264camera.o h264camera.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o audioinput.o audioinput.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o fscam_cu135.o fscam_cu135.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ecam51_usb.o ecam51_usb.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ecam82_usb.o ecam82_usb.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ecam83_usb.o ecam83_usb.cpp
g++ -c -pipe -O2 -Wall -Wextra -D__STDC_CONSTANT_MACROS -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iqtquick2applicationviewer -Iv4l2headers/include -I/usr/include -I/usr/include/libusb-1.0 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_cameraproperty.o moc_cameraproperty.cpp
In file included from videoencoder.cpp:22:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1569: videoencoder.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from h264decoder.cpp:22:
h264decoder.h:26:10: fatal error: libavcodec/avcodec.h: No such file or directory
26 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1583: h264decoder.o] Error 1
In file included from videostreaming.h:78,
from videostreaming.cpp:21:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1515: videostreaming.o] Error 1
In file included from videostreaming.h:78,
from ecam51_usb.h:4,
from ecam51_usb.cpp:1:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1811: ecam51_usb.o] Error 1
In file included from videostreaming.h:78,
from uvcExtCx3sni.h:6,
from uvcExtCx3sni.cpp:21:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from videostreaming.h:78,
from h264camera.h:7,
from h264camera.cpp:23:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1641: uvcExtCx3sni.o] Error 1
make: *** [Makefile:1712: h264camera.o] Error 1
In file included from videostreaming.h:78,
from see3cam_27cug.cpp:21:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from videostreaming.h:78,
from ecam83_usb.h:4,
from ecam83_usb.cpp:1:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from videostreaming.h:78,
from ecam82_usb.h:4,
from ecam82_usb.cpp:1:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1857: ecam83_usb.o] Error 1
make: *** [Makefile:1679: see3cam_27cug.o] Error 1
make: *** [Makefile:1829: ecam82_usb.o] Error 1
In file included from videostreaming.h:78,
from fscam_cu135.cpp:23:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1753: fscam_cu135.o] Error 1
In file included from audioinput.h:10,
from audioinput.cpp:47:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1728: audioinput.o] Error 1
In file included from videostreaming.h:78,
from cameraproperty.h:42,
from seecam_cu50.cpp:22:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1560: seecam_cu50.o] Error 1
In file included from videostreaming.h:78,
from cameraproperty.h:42,
from keyEventReceive.h:24,
from keyEventReceive.cpp:20:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1661: keyEventReceive.o] Error 1
In file included from videostreaming.h:78,
from cameraproperty.h:42,
from main.cpp:28:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1470: main.o] Error 1
In file included from videostreaming.h:78,
from cameraproperty.h:42,
from cameraproperty.cpp:21:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1497: cameraproperty.o] Error 1
In file included from videostreaming.h:78,
from cameraproperty.h:42,
from moc_cameraproperty.cpp:10:
videoencoder.h:37:10: fatal error: libavcodec/avcodec.h: No such file or directory
37 | #include "libavcodec/avcodec.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1917: moc_cameraproperty.o] Error 1
22:56:48: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qtcam (kit: Qt 5.15.10 (qt5))
When executing step "Make"
22:56:48: Elapsed time: 00:00.

Opensuse Tumbleweed
/usr/lib64/qt5/bin/qmake -v
QMake version 3.1
Using Qt version 5.15.10 in /usr/lib64

Es un fallo de la libreria libavcodec/avcodec.h

En este caso tengo instalado el ffmpeg-4-libavcodec-devel-4.4.4-1699.4.pm.1-x86_64.rpm
/usr/include/ffmpeg
/usr/include/ffmpeg/libavcodec
/usr/include/ffmpeg/libavcodec/ac3_parser.h
/usr/include/ffmpeg/libavcodec/adts_parser.h
/usr/include/ffmpeg/libavcodec/avcodec.h
/usr/include/ffmpeg/libavcodec/avdct.h
/usr/include/ffmpeg/libavcodec/avfft.h
/usr/include/ffmpeg/libavcodec/bsf.h
/usr/include/ffmpeg/libavcodec/codec.h
/usr/include/ffmpeg/libavcodec/codec_desc.h
/usr/include/ffmpeg/libavcodec/codec_id.h
/usr/include/ffmpeg/libavcodec/codec_par.h
/usr/include/ffmpeg/libavcodec/d3d11va.h
/usr/include/ffmpeg/libavcodec/dirac.h
/usr/include/ffmpeg/libavcodec/dv_profile.h
/usr/include/ffmpeg/libavcodec/dxva2.h
/usr/include/ffmpeg/libavcodec/jni.h
/usr/include/ffmpeg/libavcodec/mediacodec.h
/usr/include/ffmpeg/libavcodec/packet.h
/usr/include/ffmpeg/libavcodec/qsv.h
/usr/include/ffmpeg/libavcodec/vaapi.h
/usr/include/ffmpeg/libavcodec/vdpau.h
/usr/include/ffmpeg/libavcodec/version.h
/usr/include/ffmpeg/libavcodec/videotoolbox.h
/usr/include/ffmpeg/libavcodec/vorbis_parser.h
/usr/include/ffmpeg/libavcodec/xvmc.h
/usr/lib64/libavcodec.so
/usr/lib64/pkgconfig/libavcodec.pc
/usr/share/man/man3/libavcodec.3.gz
29 archivos en total

He probado todas las versiones y ninguna funciona, todas dan el mismo error

ffmpeg-2-libavcodec-devel, ffmpeg-3-libavcodec-devel, ffmpeg-4-libavcodec-devel, ffmpeg-5-libavcodec-devel y ffmpeg-6-libavcodec-devel

¿alguno sabe como solucionarlo?

@SingingBush
Copy link

the qtcam.pro file is Ubuntu specific although there's no reason for it to be. I've done some work toward unpicking it in #58 but there's still a little more to do. If #58 gets merged it may completely solve the build for Opensuse but may need a few more changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants