Closed vanous closed 10 years ago
Can you add "./QTFFmpegWrapper" to the INCLUDE paths in the linux.pro file?
this helped. thank you.
also, please add to the list of required -dev files:
libpulse-dev libswresample-dev
does the non-root adb based capture work in linux? no luck at this point.
It should. Make sure you run it in the ./Linux/ folder, as the path to prebuilts/adb is hardcoded as a relative path
running adb shell /data/data/org.bbqdroid.bbqscreen/files/bbqscreen -s 40 -720 manually allows for the discovery method to work. sorry, i am not really good in c so i cannot help further.
edit: just for the record: of course i run ./BBQScreenClient2 from ..Linux (/tmp/bbqscreen_client/Linux) and the /prebuilts with adb is present.
here is the issue, instead of this:
<------>mADBProcess->start("prebuilts/adb.exe", args);
mADBProcess->start(QDir(QCoreApplication::applicationDirPath()).absolutePath() + "/" + ADB_PATH, args);
you need something like this, but it seems that adb is started many times... as i said, i am not sure how process spanning is done in C:
<------>mADBProcess->start("prebuilts/adb.exe", args);
mADBProcess->start(QDir(QCoreApplication::applicationDirPath()).absolutePath() + "/" + ADB_PATH, args);
Fixed in 7b2bc23875a98155d8861e5e519113f4ef440b2e and aaf96f38006aafe04473624501572b6992f82661
Hello,
compiling on debian amd64:
Linux tc-vanek 3.12-trunk-amd64 #1 SMP Debian 3.12-1~exp1 (2013-11-17) x86_64 GNU/Linux
bild fails with libswresample/version.h: No such file or directory
include "libswresample/version.h"
full output below,
thank you
vanous@tc-vanek:/tmp/bbqscreen_client$ /usr/lib/x86_64-linux-gnu/qt5/bin/qmake BBQScreenClient2.linux.pro Project MESSAGE: You are running qmake on a generated .pro file. This may not work! RCC: Warning: No resources in 'mainwindow.qrc'. vanous@tc-vanek:/tmp/bbqscreen_client$ make /usr/lib/x86_64-linux-gnu/qt5/bin/uic mainwindow.ui -o GeneratedFiles/ui_mainwindow.h /usr/lib/x86_64-linux-gnu/qt5/bin/uic screenform.ui -o GeneratedFiles/ui_screenform.h g++ -c -std=c++11 -DNEW_FFMPEG_API -g -Wall -W -D_REENTRANT -fPIE -DQT_DLL -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -DSTDC_CONSTANT_MACROS -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -IGeneratedFiles -I. -I./GeneratedFiles/Debug -I/../qtmultimedia/include/QtMultimedia -I/../qtmultimedia/include -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -IGeneratedFiles/debug -IGeneratedFiles -o debug/main.o main.cpp g++ -c -std=c++11 -DNEW_FFMPEG_API -g -Wall -W -D_REENTRANT -fPIE -DQT_DLL -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -DSTDC_CONSTANT_MACROS -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -IGeneratedFiles -I. -I./GeneratedFiles/Debug -I/../qtmultimedia/include/QtMultimedia -I/../qtmultimedia/include -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -IGeneratedFiles/debug -IGeneratedFiles -o debug/mainwindow.o mainwindow.cpp In file included from ./QTFFmpegWrapper/ffmpeg.h:45:0, from QStreamDecoder.h:33, from screenform.h:30, from mainwindow.cpp:22: ./QTFFmpegWrapper/libswresample/swresample.h:99:35: fatal error: libswresample/version.h: No such file or directory
include "libswresample/version.h"
compilation terminated. make: *\ [debug/mainwindow.o] Error 1