1 | initial version |
imread/imwrite and friends were moved from highgui to a new imgcodecs module.
so you will have to
#include "opencv2/imgcodecs.hpp"
and link
-lopencv_imgcodecs
2 | No.2 Revision |
imread/imwrite and friends were moved from highgui to a new imgcodecs module.
so you will have to
#include "opencv2/imgcodecs.hpp"
and link
-lopencv_imgcodecs
btw, include path should be:
-I/usr/local/include
not
-I/usr/local/include/opencv