Comments (3)
Hi!
Can you check if brew has installed the mpv header files?
also, it is possible that brew install header files in a different location.
in that case. you need to manually set CFLAGS
related links: link1, AynaLivePlayer/AynaLivePlayer#4
from go-mpv.
still complains :
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1 ld: library not found for -lmpv clang: error: linker command failed with exit code 1 (use -v to see invocation)
after i set the ENV :
export GO_LDFLAGS="-L/opt/homebrew/Cellar/mpv/0.35.1_2/lib"
export CGO_CFLAGS="-I/opt/homebrew/Cellar/mpv/0.35.1_2/include"
quick question : why not use pkg-config ? it is already shipped with .
thanks
from go-mpv.
Yes, you can indeed use pkg-config to retrieve the necessary CFLAGS and library paths. The reason I didn't using pkg-config is that Windows systems typically do not have pkg-config preinstalled.
for you problem. can you double check if those flag appear in go env
from go-mpv.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mpv.