C++ LNK2019:未解析的外部符号“函数中引用的Uu imp”GetComName”;private:int“cdecl StartProcess::ComInit(void)”;
我在64位windows 7中使用Qt Creator 4.10.0。当我编译我的项目(编译器是32位的)时,会出现以下问题:C++ LNK2019:未解析的外部符号“函数中引用的Uu imp”GetComName”;private:int“cdecl StartProcess::ComInit(void)”;,c++,qt,qt-creator,C++,Qt,Qt Creator,我在64位windows 7中使用Qt Creator 4.10.0。当我编译我的项目(编译器是32位的)时,会出现以下问题: startprocess.obj:-1: error: LNK2019: unresolved external symbol __imp_GetComName referenced in function "private: int __cdecl StartProcess::ComInit(void)" (?ComInit@StartProcess@@AEAAH
startprocess.obj:-1: error: LNK2019: unresolved external symbol
__imp_GetComName referenced in function "private: int __cdecl
StartProcess::ComInit(void)" (?ComInit@StartProcess@@AEAAHXZ)
我的专业文件
LIBS += -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/boost_1_71_0/libs" -
llibboost_date_time-vc141-mt-x32-1_71 \
-
L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/boost_1_71_0/libs" -
llibboost_regex-vc141-mt-x32-1_71 \
-L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -
lEfuseLibrary \
-L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -lQMTRACE \
-L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -
lDownloadLib
Qt4.10或QtCreator 4.10?QtCreator 4.10.0 IDE是QtCreator。我包括了所有库,但仍然得到这个错误。