windows pkg-config libusb libusb.pc

2021-03-05 13:30

阅读:361

标签:exec   tor   conf   code   cli   follow   rect   included   file   

  • Installed pkg-config-lite
  • Set %PATH% to pkg-config-lite-0.28-1\bin
  • Set %PKG_CONFIG_PATH% to pkg-config-lite-0.28-1\libs I created
  • Verified pkg-config was working using pkg-config -v
  • Donwloaded libusb for Windows by clicking Downloads > Latest Windows binaries
  • Created a libusb.pc file in the PKG_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

标签:exec   tor   conf   code   cli   follow   rect   included   file   

原文地址:https://www.cnblogs.com/qing123/p/12893735.html


评论


亲,登录后才可以留言!