Files
pilotclient/src/plugins/simulator/fsxp3d_include.pri
Klaus Basan 6688b56e49 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
2018-06-18 03:04:20 +02:00

16 lines
638 B
Plaintext

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
}
equals(WORD_SIZE,32) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
LIBS *= -lSimConnect
}