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

Add CMake build for opencv-ndarray-conversion #10

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

Conversation

shixudongleo
Copy link

The CMakeList.txt has been tested under ubuntu.
For Mac OSX, CMake will produce a examples.dylib fie instead of examples.so.

Any idea to improve so that it will work on both platform?

@yati-sagade
Copy link
Owner

Thanks for this. I tried out the build on my Fedora box and the OpenCV finder script seems to have some issues with my OpenCV installation directory. It might even be just my system with many versions of OpenCV here and there. Let me just be sure what it is before I merge.

Thanks :)

@shixudongleo
Copy link
Author

Ok, thank you.
By the way, I have figured out why I can not compile using the same cmake file on mac osx. The main problem is that cmake does not work well with brew installed python. I have found the solution here:
Homebrew/legacy-homebrew#25118
In case you also want to use it under mac osx and meet with the same problem.

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.

2 participants