Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Compiling with OpenCV4 #113

Closed
OfficialOwlElder opened this issue Jan 2, 2021 · 1 comment
Closed

Issue Compiling with OpenCV4 #113

OfficialOwlElder opened this issue Jan 2, 2021 · 1 comment

Comments

@OfficialOwlElder
Copy link

image

I was having an issue compiling web_video_server 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?

@bjsowa
Copy link
Collaborator

bjsowa commented Oct 1, 2024

This was fixed in #103

@bjsowa bjsowa closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants