mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fixed "SimConnect.lib(commClient.obj) : error LNK2019: unresolved external symbol __imp_CoTaskMemFree" on Win64 systems
* discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1528793410000485 * This problem was obviously related to commit Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
This commit is contained in:
@@ -2,6 +2,9 @@ equals(WORD_SIZE,64) {
|
||||
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
|
||||
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
|
||||
LIBS *= -lAdvapi32
|
||||
LIBS += -ldxguid -lole32
|
||||
# ole32 only needed for P3D on WIN64 systems, LNK2019: unresolved external symbol __imp_CoTaskMemFree referenced in function
|
||||
# ldxguid are DirectX guid numbers
|
||||
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
|
||||
else: LIBS *= -lSimConnect
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user