xlab / libvpx-go

Package vpx provides Go bindings for libvpx-1.6.0, the WebM Project VP8/VP9 codec implementation.
http://www.webmproject.org/code/
MIT License
190 stars 16 forks source link

Trying to compile on Windows 10 64 Bits #9

Open al-sabr opened 5 years ago

al-sabr commented 5 years ago

Hi by using : go get github.com/xlab/libvpx-go/vpx I get this error

# pkg-config --cflags  -- vpx vpx vpx vpx vpx
error $PKG_CONFIG_PATH: open vpx.pc: The system cannot find the file specified.
error <autogenerated>: no library found in $GOPATH: vpx
error $GOPATH: no library found in $GOPATH: vpx
error github.com: PKG_CONDIF_GITHUB not exported, skipping github.com lookup
pkg-config: exit status 1
xlab commented 5 years ago

You need to get MSYS 1.0 or 2.0 and install MinGW, libvpx and pkg-config.

naikrovek commented 4 years ago

And you need to make sure that the location of vpx.pc is in PKG_CONFIG_PATH - that caught me for a few minutes.