csparker247 / ffdropenc

A macOS utility for batch encoding video files.
GNU General Public License v3.0
6 stars 0 forks source link

App fails to build on Debian #38

Open csparker247 opened 3 years ago

csparker247 commented 3 years ago

The project fails to build on Debian when using either the apt Qt5 libs or a manually installed version:

$ make
Scanning dependencies of target ffde_core
[  5%] Building CXX object libdropenc/CMakeFiles/ffde_core.dir/src/Filesystem.cpp.o
[ 10%] Building CXX object libdropenc/CMakeFiles/ffde_core.dir/src/Preset.cpp.o
[ 15%] Building CXX object libdropenc/CMakeFiles/ffde_core.dir/src/QueueItem.cpp.o
[ 20%] Building CXX object libdropenc/CMakeFiles/ffde_core.dir/src/TimeTools.cpp.o
[ 25%] Linking CXX static library ../lib/libffde_core.a
[ 25%] Built target ffde_core
Scanning dependencies of target ffdropenc_autogen
[ 30%] Automatic MOC and UIC for target ffdropenc

AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/apps/include/MainApplication.hpp"
into
  "SRC:/build/apps/ffdropenc_autogen/6YEA5652QU/moc_MainApplication.cpp"

Command
-------
/usr/bin/moc -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/ffdropenc/apps/include -I/ffdropenc/build/apps -I/ffdropenc/libdropenc/include -I/ffdropenc/build/_deps/json-src/single_include -I/usr/include/QtCore -I/usr/mkspecs/linux-g++ -I/usr/include/QtGui -I/usr/include/QtWidgets -I/usr/include -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu --include /ffdropenc/build/apps/ffdropenc_autogen/moc_predefs.h -p ./ -o /ffdropenc/build/apps/ffdropenc_autogen/6YEA5652QU/moc_MainApplication.cpp /ffdropenc/apps/include/MainApplication.hpp

Output
------
usr/include/c++/8/bits/fs_fwd.:39: Parse error at "std"

AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/apps/include/EncodingQueue.hpp"
into
  "SRC:/build/apps/ffdropenc_autogen/6YEA5652QU/moc_EncodingQueue.cpp"

Command
-------
/usr/bin/moc -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/ffdropenc/apps/include -I/ffdropenc/build/apps -I/ffdropenc/libdropenc/include -I/ffdropenc/build/_deps/json-src/single_include -I/usr/include/QtCore -I/usr/mkspecs/linux-g++ -I/usr/include/QtGui -I/usr/include/QtWidgets -I/usr/include -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu --include /ffdropenc/build/apps/ffdropenc_autogen/moc_predefs.h -p ./ -o /ffdropenc/build/apps/ffdropenc_autogen/6YEA5652QU/moc_EncodingQueue.cpp /ffdropenc/apps/include/EncodingQueue.hpp

Output
------
usr/include/c++/8/bits/fs_fwd.:39: Parse error at "std"

make[2]: *** [apps/CMakeFiles/ffdropenc_autogen.dir/build.make:58: apps/CMakeFiles/ffdropenc_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:973: apps/CMakeFiles/ffdropenc_autogen.dir/all] Error 2
make: *** [Makefile:152: all] Error 2