Terranlee / Realtime_EVM

A Realtime Eulerian Video Magnification
11 stars 2 forks source link

cannot compile code #1

Open AdrienLemaire opened 9 years ago

AdrienLemaire commented 9 years ago

Hi,

I tried to execute your code without success. I'm on arch linux, installed qt5-base (5.4.0-1) and opencv 2.4.10-2, then ran qmake, modified the Makefile to add \pkg-config --libs opencv`, ranqmake -project -d -Wall`, and make:

$ make
/usr/lib/qt/bin/qmake -o Makefile Realtime_EVM.pro
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -o magnify.o magnify.cpp
In file included from magnify.cpp:1:0:
magnify.h:8:16: fatal error: cv.h: No such file or directory
 #include <cv.h>
                ^
compilation terminated.
Makefile:452: recipe for target 'magnify.o' failed
make: *** [magnify.o] Error 1

Seems like the opencv part added in the Makefile is removed everytime I run qmake + make (or make + qmake). Sorry about this, I'm not good with c++. Any idea what could be wrong?

Ghaz75 commented 4 years ago

Seems to be an incomplete code.