Build issues on Mac
Hello, I thought I'd try to build the project on Mac, and I got through the dependencies and all that, however when trying to run cargo build --release I can't seem to get it past the open-cv step.
Not sure if this is a failure on my part of not setting up the open-cv dependencies correctly or what, but the log doesn't really seem to tell me anything clear.. would love some input if you have an idea of how to fix it 😄
I had tried to document my steps here as well:
https://gist.github.com/corjohnson/49d77b9f3e14478c29d8b30d6e9f9814
Looking at the build log it seems the opencv build script is failing for some reason. All other steps seem to succeed. Unfortunately I don't have any experience porting to Mac (I don't even have any Mac hardware to test on), so I'm not sure if I can provide useful advice, but I'm going to make some educated guesses.
- Did you install the opencv-contrib dependency too (instead of just opencv itself)? (opencv-contrib adds some extras to opencv that I use)
- Have you tried using
llvmfrom Brew instead of using XCode/Command Line Tools?
Also maybe try opening an issue on the opencv-rust repo, because it seems this issue is beyond my control: https://github.com/twistedfall/opencv-rust/issues
Fixed #10