econsysqtcam / qtcam

QtCAM is a free, Open Source Linux Webcamera Software with more than 10 image control settings, extension settings and Color space switching.
http://www.e-consystems.com/opensource-linux-webcam-software-application.asp
GNU General Public License v3.0
185 stars 95 forks source link

compiling on fedora 26 not working #20

Closed arpu closed 7 years ago

arpu commented 7 years ago

ffmpeg from git master i add -lz \ -lbz2 \ -lswresample -lm to the LIBS in qtcam.pro qmake-qt5 QMAKE_DEFAULT_INCDIRS=""

but i get this build error http://lpaste.net/7870958733096910848

arpu commented 7 years ago

g++ -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o Qtcam main.o logger.o about.o cameraproperty.o videostreaming.o uvccamera.o v4l2-api.o seecam_10cug_m.o seecam_10cug_bayer.o seecam_11cug.o seecam_cu80.o seecam_cu50.o seecam_ar0130.o videoencoder.o seecam_cu51.o see3cam_cu130.o h264decoder.o ascella.o seecam_cu30.o see3cam_130.o see3cam_30.o seecam_81.o see3cam_cu135.o see3cam_cu40.o see3cam_cu20.o uvcExtCx3sni.o qtquick2applicationviewer.o moc_qtquick2applicationviewer.o moc_about.o moc_cameraproperty.o moc_videostreaming.o moc_uvccamera.o moc_seecam_10cug_m.o moc_seecam_10cug_bayer.o moc_seecam_11cug.o moc_seecam_cu80.o moc_seecam_cu50.o moc_seecam_ar0130.o moc_seecam_cu51.o moc_see3cam_cu130.o moc_ascella.o moc_seecam_cu30.o moc_see3cam_130.o moc_common_enums.o moc_see3cam_30.o moc_seecam_81.o moc_see3cam_cu135.o moc_see3cam_cu40.o moc_see3cam_cu20.o moc_uvcExtCx3sni.o -lv4l2 -lv4lconvert -lavutil -lavcodec -lavformat -lswscale -ludev -lusb-1.0 -lbz2 -lswresample -lm -lz -L/usr/local/lib -lturbojpeg -lQt5Widgets -lQt5Quick -lQt5Gui -lQt5Concurrent -lQt5Qml -lQt5Network -lQt5Core -lGL -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil -lva -lva-x11 -lX11 -lva -lva-drm -lva -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lx264 -lvpx -lvpx -lvpx -lvpx -lm -ldl -llzma -lbz2 -lz -pthread

this worked for me