windows pkg-config libusb libusb.pc
Posted qing123
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows pkg-config libusb libusb.pc相关的知识,希望对你有一定的参考价值。
- Installed
pkg-config-lite
- Set
%PATH%
topkg-config-lite-0.28-1in
- Set
%PKG_CONFIG_PATH%
topkg-config-lite-0.28-1libs
I created - Verified
pkg-config
was working usingpkg-config -v
- Donwloaded
libusb
for Windows by clicking Downloads > Latest Windows binaries - Created a
libusb.pc
file in thePKG_CONFIG_PATH
directory:
# libusb.pc
prefix=C:/Users/Tom/Desktop/pkg-config-lite-0.28-1/libs/libusb
exec_prefix=${prefix}
includedir=${prefix}/include/libusb-1.0
libdir=${exec_prefix}/MinGW64/dll # `/dll`?
Name: libusb
Description: libusb
Version: 1.0
Cflags: -I${includedir}
Libs: -L${libdir} -llibusb-1.0
以上是关于windows pkg-config libusb libusb.pc的主要内容,如果未能解决你的问题,请参考以下文章
windows pkg-config libusb libusb.pc
windows pkg-config libusb libusb.pc
带有 GTK 的 Windows 10 中的 Msys2 返回错误 pkg-config