Linking...
nafxcw.lib(wincore.obj) : error LNK2005: _InitMultipleMonitorStubs already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xGetSystemMetrics@4 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromPoint@12 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromRect@8 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromWindow@8 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xGetMonitorInfo@8 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _xEnumDisplayMonitors@16 already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_fMultiMonInitDone already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnEnumDisplayMonitors already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnGetMonitorInfo already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromPoint already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromRect already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromWindow already defined in PPTooltip.obj
nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnGetSystemMetrics already defined in PPTooltip.obj
C:\Program Files (x86)\HTDriver\20407\HT_USBKeyTool_R.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
*************.exe - 15 error(s), 3 warning(s)
然后 我给Release配置: Link的命令行中增加这个命令 /FORCE:MULTIPLE。编译可以通过,但是有如下警告:
Linking...
nafxcw.lib(wincore.obj) : warning LNK4006: _InitMultipleMonitorStubs already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xGetSystemMetrics@4 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xMonitorFromPoint@12 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xMonitorFromRect@8 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xMonitorFromWindow@8 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xGetMonitorInfo@8 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _xEnumDisplayMonitors@16 already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_fMultiMonInitDone already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnEnumDisplayMonitors already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnGetMonitorInfo already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnMonitorFromPoint already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnMonitorFromRect already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnMonitorFromWindow already defined in PPTooltip.obj; second definition ignored
nafxcw.lib(wincore.obj) : warning LNK4006: _g_pfnGetSystemMetrics already defined in PPTooltip.obj; second definition ignored
C:\Program Files (x86)\HTDriver\20407\HT_USBKeyTool_R.exe : warning LNK4088: image being generated due to /FORCE option; image may not run
***************.exe - 0 error(s), 18 warning(s)
然后运行这个exe,程序报错退出……
哪位大神知道这个问题怎么解决呢,谢谢!