Code: Select all
1>------ Build started: Project: DataHarvester (PDK General Samples\DataHarvester), Configuration: Release x64 ------
1>DataHarvester.cpp
1>StartStopHandler.cpp
1>DLLMain.cpp
1> Creating library C:\Users\Alex Boch\Desktop\Prepar3D v5 SDK 5.1.12.26829\Output\Release\PDK General Samples\DataHarvester\DataHarvester.lib and object C:\Users\Alex Boch\Desktop\Prepar3D v5 SDK 5.1.12.26829\Output\Release\PDK General Samples\DataHarvester\DataHarvester.exp
1>SimConnect.lib(commClient.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler4
1>SimConnect.lib(client.obj) : error LNK2001: unresolved external symbol __CxxFrameHandler4
1>SimConnect.lib(commClient.obj) : error LNK2001: unresolved external symbol __GSHandlerCheck_EH4
1>C:\Users\Alex Boch\Desktop\Prepar3D v5 SDK 5.1.12.26829\Output\Release\PDK General Samples\DataHarvester\DataHarvester.dll : fatal error LNK1120: 2 unresolved externals
1>Done building project "DataHarvester.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
According to other solutions on the internet, this has to do with Visual Studio 2017 using the Visual Studio 2019 build tools. Has anyone experienced a similar issue, if so, how can we fix it and/or force Visual Studio 2017 to use the 2017 build tools?
Thank you!