SimConnect V4 Library Link Issue

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
ryanp
Posts: 1
Joined: Tue Oct 09, 2018 6:43 pm

SimConnect V4 Library Link Issue

Post by ryanp »

I'm getting unresolved symbols on SimConnect calls when trying to compile any of the samples despite including the SimConnect.h header and linking against the SimConnect.lib. I've tried linking against both the release and the debug versions of the library using VS2015 and VS2013.

I've verified that VS is finding the library and actually linking against it, but I'm still getting the unresolved symbols.

Am I missing something dumb?

Below are the calls that result in unresolved symbols:

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol _SimConnect_AddToDataDefinition@28 referenced in function "void __cdecl testDataRequest(void)" (?testDataRequest@@YAXXZ) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Error LNK2019 unresolved external symbol _SimConnect_CallDispatch@12 referenced in function "void __cdecl testDataRequest(void)" (?testDataRequest@@YAXXZ) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Error LNK2019 unresolved external symbol _SimConnect_Close@4 referenced in function "void __cdecl testDataRequest(void)" (?testDataRequest@@YAXXZ) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Error LNK2019 unresolved external symbol _SimConnect_Open@24 referenced in function "void __cdecl testDataRequest(void)" (?testDataRequest@@YAXXZ) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Error LNK2019 unresolved external symbol _SimConnect_RequestDataOnSimObjectType@20 referenced in function "void __stdcall MyDispatchProcRD(struct SIMCONNECT_RECV *,unsigned long,void *)" (?MyDispatchProcRD@@YGXPAUSIMCONNECT_RECV@@KPAX@Z) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Error LNK2019 unresolved external symbol _SimConnect_SubscribeToSystemEvent@12 referenced in function "void __cdecl testDataRequest(void)" (?testDataRequest@@YAXXZ) AddOnTest2015 C:\Users\*****\Desktop\Prepar3dSandbox\AddOnTest2015\AddOnTest2015\AddOnTest2015.obj 1
Post Reply