Closed golgobot closed 11 years ago
please make sure you're using a version of opencv released around the time this code was last updated (e.g., 2.3.1) otherwise there might be api changes to opencv that cause facetracker to fail.
because i haven't heard anything else about this issue, i'm going to close it.
seems to build OK with opencv 2.4.1
thanks @davidbuzz :)
OpenCV is installed in /usr/local I just typed make and...
MacAdmins-MacBook-Pro-2:facetracker jonathan$ make g++ -MM -MT src/lib/IO.o -MF src/lib/IO.d -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ src/lib/IO.cc g++ -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ -c -o src/lib/IO.o src/lib/IO.cc g++ -MM -MT src/lib/PDM.o -MF src/lib/PDM.d -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ src/lib/PDM.cc g++ -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ -c -o src/lib/PDM.o src/lib/PDM.cc g++ -MM -MT src/lib/Patch.o -MF src/lib/Patch.d -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ src/lib/Patch.cc g++ -Wextra -Wall -pedantic-errors -arch x86_64 -O3 -I/usr/local/include -Iinclude/ -c -o src/lib/Patch.o src/lib/Patch.cc src/lib/Patch.cc: In member function ‘void FACETRACKER::Patch::Response(cv::Mat&, cv::Mat&)’: src/lib/Patch.cc:163: error: ‘matchTemplate’ is not a member of ‘cv’ make: *** [src/lib/Patch.o] Error 1