用ug\open api wizard来建工程后,工程里已经包含了两个文件,一个*.cpp文件和*.h文件,再加入uistyler生成的*.c文件和*.h文件,文件之间不冲突吗?为啥我在调试时有如下错误呢?Linking...
dlg2_template.obj : error LNK2005: _ufsta already defined in pdlg2.obj
dlg2_template.obj : error LNK2005: _ufusr_ask_unload already defined in pdlg2.obj
dlg2_template.obj : warning LNK4006: _ufsta already defined in pdlg2.obj; second definition ignored
dlg2_template.obj : warning LNK4006: _ufusr_ask_unload already defined in pdlg2.obj; second definition ignored
Creating library Debug/pdlg2.lib and object Debug/pdlg2.exp
d:\ugopen\ugapi\application\pdlg2.dll : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
pdlg2.dll - 3 error(s), 2 warning(s)
其中one or more multiply defined symbols found是怎么回事呢?