I am having problem figure out how to use libusb, I put "libusb-1.0.18-rc1libusb"
in include directories (using Visua Studio), but it doesn't work.
Can anyone enlighten me. Thanks a lot!
error message:
1>test.obj : error LNK2019: unresolved external symbol _libusb_exit@4 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_close@4 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_release_interface@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_bulk_transfer@24 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_claim_interface@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_detach_kernel_driver@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_kernel_driver_active@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_free_device_list@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_open_device_with_vid_pid@12 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_get_device_list@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_set_debug@8 referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol _libusb_init@4 referenced in function _main
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…