Error LNK2019 unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailA@24 referenced in function "public: bool __thiscall CCyUSBDevice::CreateHandle(unsigned char)" (?CreateHandle@CCyUSBDevice@@QAE_NE@Z) Example1 Example1\CyAPI.lib(CyAPI.obj) 1 解决办法: solved it by adding SetupAPI.lib to the Linker>Input>Additional Dependencies. Configuration Properties >Linker > Input > Additional Dependencies and type setupapi.lib |
|
来自: 望穿墙 > 《visual studio》