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

Fix compilation with OpenCV4 #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ShadowOne333
Copy link

This PR modified some parts of the main CMakeLists to compile with C++11, and also search for an installation of OpenCV.
Additionally, changes to header includes were made, as well as adding other missing headers so they legacy C API functions are properly recognized with the latest iteration of OpenCV.

I redefined cvScalar in a couple of files, and also converted cvLoadImage to now use cv::imread instead by converting it with cvarrToMat.

Someone with the proper knowledge, please review this properly before merging.
Let me know if I missed anything or if I did something wrong.

This PR should fix Issue #28 which I created some time ago.

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

Successfully merging this pull request may close these issues.

1 participant