-
-
Notifications
You must be signed in to change notification settings - Fork 847
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
Installation errors [osx] #5
Comments
Same error on MacOS High Sierra. |
|
Hello, everyone. Can you please try:
The problem might be that go is trying to install before the pre-reqs are installed, or before the ENV vars are set as needed for your platform. |
-d will not install
Ran |
The build debug
I think there should be cgo comment to include opencv lib in LDFLAGS like
I am not familiar with opencv, will let you know if find a way to fix. |
I think you need to first need to download:
Once the package is downloaded, you would need to run the
Once the env vars are set in that session, you should be able to try running code, such as the
Please give that a try. |
Yes, that works. Thanks.
|
This is mentioned already here https://github.com/hybridgroup/gocv#how-to-buildrun-code but will need the |
The README has been updated here ae24310 and the website here hybridgroup/gocv-site@898b709 I will close this issue once it is pushed to master. Thanks @edbond & @ariesdevil for your bug reports and assistance. |
OK this has now been released. Now closing, thank you again everyone. |
Hi @llitfkitfk from your log, looks like you are trying to build for iOS simulator, not Mac OS. Check your XCode default settings. |
go version go1.9.1 darwin/amd64
osx high sierra
Installed opencv first
$ brew install opencv
Next
The text was updated successfully, but these errors were encountered: