`/bin/bash: VideoDecoder.hh: command not found
/bin/bash: VideoPlayer.hh: command not found
Makefile:851: recipe for target 'moc_VideoDecoder.cpp' failed
make: [moc_VideoDecoder.cpp] Error 127
make: Waiting for unfinished jobs....
Makefile:848: recipe for target 'moc_VideoPlayer.cpp' failed
make: [moc_VideoPlayer.cpp] Error 127
/bin/bash: VideoWidget.hh: command not found
Makefile:845: recipe for target 'moc_VideoWidget.cpp' failed
make: [moc_VideoWidget.cpp] Error 127
In file included from sherlock265.cc:27:0:
VideoPlayer.hh:30:10: fatal error: QtGui: No such file or directory
include
^~~~~~~
compilation terminated.
In file included from VideoPlayer.cc:27:0:
VideoPlayer.hh:30:10: fatal error: QtGui: No such file or directory
include
^~~~~~~
compilation terminated.
Makefile:511: recipe for target 'sherlock265-sherlock265.o' failed
make: [sherlock265-sherlock265.o] Error 1
Makefile:525: recipe for target 'sherlock265-VideoPlayer.o' failed
make: [sherlock265-VideoPlayer.o] Error 1
In file included from VideoWidget.cc:27:0:
VideoWidget.hh:30:10: fatal error: QtCore/qglobal.h: No such file or directory
include <QtCore/qglobal.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from VideoDecoder.cc:27:0:
VideoDecoder.hh:34:10: fatal error: QtGui: No such file or directory
Hello! I ran 'make' under the folder sherlock265 and met this problem.
Here is the error outputs.
libde265-master/sherlock265# make g++ -DHAVE_CONFIG_H -I. -I.. -I../libde265 -std=c++0x -fPIC -g -O2 -Werror=return-type -Werror=unused-result -Werror=reorder -DDE265_LOG_ERROR -MT sherlock265-sherlock265.o -MD -MP -MF .deps/sherlock265-sherlock265.Tpo -c -o sherlock265-sherlock265.o
test -f 'sherlock265.cc' || echo './'`sherlock265.cc In file included from sherlock265.cc:27:0: VideoPlayer.hh:30:10: fatal error: QtGui: No such file or directoryinclude
compilation terminated. Makefile:511: recipe for target 'sherlock265-sherlock265.o' failed make: *** [sherlock265-sherlock265.o] Error 1`
`/bin/bash: VideoDecoder.hh: command not found /bin/bash: VideoPlayer.hh: command not found Makefile:851: recipe for target 'moc_VideoDecoder.cpp' failed make: [moc_VideoDecoder.cpp] Error 127 make: Waiting for unfinished jobs.... Makefile:848: recipe for target 'moc_VideoPlayer.cpp' failed make: [moc_VideoPlayer.cpp] Error 127 /bin/bash: VideoWidget.hh: command not found Makefile:845: recipe for target 'moc_VideoWidget.cpp' failed make: [moc_VideoWidget.cpp] Error 127 In file included from sherlock265.cc:27:0: VideoPlayer.hh:30:10: fatal error: QtGui: No such file or directory
include
compilation terminated. In file included from VideoPlayer.cc:27:0: VideoPlayer.hh:30:10: fatal error: QtGui: No such file or directory
include
compilation terminated. Makefile:511: recipe for target 'sherlock265-sherlock265.o' failed make: [sherlock265-sherlock265.o] Error 1 Makefile:525: recipe for target 'sherlock265-VideoPlayer.o' failed make: [sherlock265-VideoPlayer.o] Error 1 In file included from VideoWidget.cc:27:0: VideoWidget.hh:30:10: fatal error: QtCore/qglobal.h: No such file or directory
include <QtCore/qglobal.h>
compilation terminated. In file included from VideoDecoder.cc:27:0: VideoDecoder.hh:34:10: fatal error: QtGui: No such file or directory
include
compilation terminated. Makefile:553: recipe for target 'sherlock265-VideoWidget.o' failed make: [sherlock265-VideoWidget.o] Error 1 Makefile:539: recipe for target 'sherlock265-VideoDecoder.o' failed make: [sherlock265-VideoDecoder.o] Error 1`
Most of the answers on the internet are Qt5 doesn't contain QtGui but I'm using Qt4.
qmake --version
QMake version 2.01a Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu