Giter VIP home page Giter VIP logo

Comments (3)

mikegleasonjr avatar mikegleasonjr commented on May 17, 2024 3

I had to read the readme.md further down :)

But my opencv installation was in /usr/local/Cellar/opencv/3.3.1_1 and not in /usr/local/Cellar/opencv/3.3.1.

So I made a script to build my project:

#!/bin/bash

export CGO_CPPFLAGS="-I/usr/local/Cellar/opencv/3.3.1_1/include -I/usr/local/Cellar/opencv/3.3.1_1/include/opencv2"
export CGO_CXXFLAGS="--std=c++1z -stdlib=libc++"
export CGO_LDFLAGS="-L/usr/local/Cellar/opencv/3.3.1_1/lib -lopencv_core -lopencv_videoio -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect -lopencv_calib3d -lopencv_video"

go build main.go

from gocv.

deadprogram avatar deadprogram commented on May 17, 2024 1

Hi @mikegleasonjr I see that the Homebrew bottle has already changed: Homebrew/homebrew-core@6c90483

Would you like to submit a PR with this update for the main project's env.sh to accommodate this? Thanks for pointing it out!

from gocv.

deadprogram avatar deadprogram commented on May 17, 2024

I've updated the env.sh in this commit 35c0bab current in the dev branch.

from gocv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.