I was having an issue compiling web_videoserver with OpenCV4 on an Nvidia Jetson TX2 running JetPack 4.4.1 (Ubuntu 18.04). Resolved the issue by replacing all of constant prefixes "CV" with "cv::".
from
encode_params.push_back(CV_IMWRITE_JPEG_QUALITY);
to
encode_params.push_back(cv::IMWRITE_JPEG_QUALITY);
from
encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
to
encode_params.push_back(cv::IMWRITE_PNG_COMPRESSION);
I was having an issue compiling web_videoserver with OpenCV4 on an Nvidia Jetson TX2 running JetPack 4.4.1 (Ubuntu 18.04). Resolved the issue by replacing all of constant prefixes "CV" with "cv::".
from encode_params.push_back(CV_IMWRITE_JPEG_QUALITY); to encode_params.push_back(cv::IMWRITE_JPEG_QUALITY);
from encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION); to encode_params.push_back(cv::IMWRITE_PNG_COMPRESSION);
Any thoughts on why this might be happening?