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

Build issues on Mac #5

Open
corjohnson opened this issue Apr 3, 2021 · 2 comments
Open

Build issues on Mac #5

corjohnson opened this issue Apr 3, 2021 · 2 comments

Comments

@corjohnson
Copy link

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 😄

bitmapflow_osx_build.log

I had tried to document my steps here as well:

https://gist.github.com/corjohnson/49d77b9f3e14478c29d8b30d6e9f9814

@Bauxitedev
Copy link
Owner

Bauxitedev commented Apr 5, 2021

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.

  1. Did you install the opencv-contrib dependency too (instead of just opencv itself)? (opencv-contrib adds some extras to opencv that I use)
  2. Have you tried using llvm from 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

@nosferatu500
Copy link

Fixed #10

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

3 participants