This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于vs2017使用DLP4500 SDK上一个常见错误的解决

Other Parts Discussed in Thread: DLP4500

https://e2e.ti.com/support/dlp/f/94/p/749850/2786919

1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiEnumDeviceInfo@12,This symbol is referenced in the function _hid_enumerate
1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4,This symbol is referenced in the _hid_enumerate 
1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiEnumDeviceInterfaces@20,This symbol is referenced in the _hid_enumerate 
1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailA@24,This symbol is referenced in the _hid_enumerate 
1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiGetClassDevsA@16,This symbol is referenced in the _hid_enumerate 
1>DLP_SDK.lib(hid.obj) : error LNK2019: Unresolved external symbol __imp__SetupDiGetDeviceRegistryPropertyA@28,This symbol is referenced in the _hid_enumerate 
1>F:\software\dlpsdkvs2017_test\TIDA-00254_LCr4500_MachineVision-bld\bin\Release\DLP_LightCrafter_4500_3D_Scan_Application.exe : fatal error LNK1120: 6 external commands that cannot be resolved

针对这种报错,主要是缺少了NT设备管理一个文件的lib,添加好就行setupapi.lib

检测到DLP4500的usb——运行效果: