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

[Dep ensure problem] #70

Open
MartinToruan opened this issue Mar 30, 2020 · 2 comments
Open

[Dep ensure problem] #70

MartinToruan opened this issue Mar 30, 2020 · 2 comments

Comments

@MartinToruan
Copy link

MartinToruan commented Mar 30, 2020

Hi, I got this error when import the library from vendor folder.
`
make go-build-http
make[1]: Entering directory '/home/nakama/Documents/go_projects/src/github.com/tokopedia/uploadpedia'
github.com/tokopedia/uploadpedia/vendor/github.com/discordapp/lilliput

github.com/tokopedia/uploadpedia/vendor/github.com/discordapp/lilliput

In file included from ./avcodec.hpp:4:0,
from vendor/github.com/discordapp/lilliput/avcodec.go:12:
./opencv.hpp:7:10: fatal error: opencv2/core/fast_math.hpp: No such file or directory
#include <opencv2/core/fast_math.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:12: recipe for target 'go-build-http' failed
make[1]: *** [go-build-http] Error 2
make[1]: Leaving directory '/home/nakama/Documents/go_projects/src/github.com/tokopedia/uploadpedia'
Makefile:22: recipe for target 'go-run-http' failed
make: *** [go-run-http] Error 2
`

Any Idea?

Thank you.

@chriskolenko
Copy link

I had to manually copy the deps folder into my vendor folder. Bug with go mod.

@WardBenjamin
Copy link

Seems to be working for me now.

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