About Store Forum Documentation Contact



Post Reply 
[SOLVED] Linking errors
Author Message
Pixel Perfect Offline
Member

Post: #1
[SOLVED] Linking errors
Since updating to new engine builds recently I seem to be getting the following unresolved external symbol errors in my project when linking and I'm not sure why:

Quote:1>EsenthelEngineDX10+.lib(OVR_Win32_HIDDevice.obj) : error LNK2019: unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailA@24 referenced in function "public: bool __thiscall OVR::Win32::HIDDevicePathWrapper::InitPathFromInterfaceData(void *,struct _SP_DEVICE_INTERFACE_DATA *)" (?InitPathFromInterfaceData@HIDDevicePathWrapper@Win32@OVR@@QAE_NPAXPAU_SP_DEVIC​E_INTERFACE_DATA@@@Z)
1>EsenthelEngineDX10+.lib(OVR_Win32_HIDDevice.obj) : error LNK2019: unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4 referenced in function "public: virtual bool __thiscall OVR::Win32::HIDDeviceManager::Enumerate(class OVR::HIDEnumerateVisitor *)" (?Enumerate@HIDDeviceManager@Win32@OVR@@UAE_NPAVHIDEnumerateVisitor@3@@Z)
1>EsenthelEngineDX10+.lib(OVR_Win32_HIDDevice.obj) : error LNK2019: unresolved external symbol __imp__SetupDiEnumDeviceInterfaces@20 referenced in function "public: virtual bool __thiscall OVR::Win32::HIDDeviceManager::Enumerate(class OVR::HIDEnumerateVisitor *)" (?Enumerate@HIDDeviceManager@Win32@OVR@@UAE_NPAVHIDEnumerateVisitor@3@@Z)
1>EsenthelEngineDX10+.lib(OVR_Win32_HIDDevice.obj) : error LNK2019: unresolved external symbol __imp__SetupDiGetClassDevsA@16 referenced in function "public: virtual bool __thiscall OVR::Win32::HIDDeviceManager::Enumerate(class OVR::HIDEnumerateVisitor *)" (?Enumerate@HIDDeviceManager@Win32@OVR@@UAE_NPAVHIDEnumerateVisitor@3@@Z)
1>Example EKI Integration.exe : fatal error LNK1120: 4 unresolved externals


[EDIT] Ah ok, its Setupapi.lib. Guess that's a new inclusion
(This post was last modified: 12-04-2013 12:32 AM by Pixel Perfect.)
12-03-2013 11:49 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: [SOLVED] Linking errors
Hi, yes, it was needed because of Oculus Rift smile
12-04-2013 02:23 AM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #3
RE: [SOLVED] Linking errors
No problem ... a very worthwhile addition smile
12-04-2013 11:20 AM
Find all posts by this user Quote this message in a reply
Post Reply