Closed Ricotan-Linus closed 2 years ago
It looks like this. And here's the solution.
after get sys, output libusb error... but I already install libusb...
# pkg-config --cflags -- libusb-1.0 pkg-config: exec: "pkg-config": executable file not found in $PATH
I resolve that after install pkg-config from brew. thanks!
brew link libusb
and see if the problem persists.Please make sure that you're using the correct pkg-config in your PATH. Installing the Homebrew's pkg-config may be a solution for this: brew install pkg-config
$ which pkg-config
/opt/homebrew/bin/pkg-config
libusb-1.0.pc
in your system and add the path to PKG_CONFIG_PATH
.Oh well, we've passed each other. Congrats you've eventually built mtplvcap! Closing here.
すいません,頭回ってないので日本語で失礼します.
libusbは既にlinkされていました.
Warning: Already linked: /usr/local/Cellar/libusb/1.0.26
pkg-configをbrewでインストールしてなかったのが上記エラーの原因のようです.Goロクにやってなくてお騒がせし申し訳ないです.
I try build from source, but output many error. but can't finish. How to fix? Sorry write poor English...