码迷,mamicode.com
首页 > Windows程序 > 详细

windows pkg-config libusb libusb.pc

时间:2020-05-15 11:26:00      阅读:87      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!