命令行:"D:\Tools\ 易语言\VC98linker\bin\link.exe" "C:\Users\18727\Desktop\智能助手.obj" "D:\Tools\易语言\static_lib\krnln_static.lib" "D:\Tools\易语言\static_lib\eAPI_static.lib" "D:\Tools\易语言\static_lib\internet_static.lib" "D:\Tools\易语言\static_lib\EThread_static.lib" "D:\Tools\易语言\static_lib\iext_static.lib" "D:\Tools\易语言\static_lib\shellEx_static.lib" "D:\Tools\易语言\static_lib\shell_static.lib" "D:\Tools\易语言\static_lib\edroptarget_static.lib" "D:\Tools\易语言\static_lib\spec_static.lib" "D:\Tools\易语言\static_lib\iconv_static.lib" "D:\Tools\易语言\static_lib\iext2_static.lib" "D:\Tools\易语言\static_lib\commobj_static.lib" "D:\Tools\易语言\static_lib\DeelxRegEx_static.lib" "D:\Tools\易语言\static_lib\BmpOperate_static.lib" "D:\Tools\易语言\static_lib\RegEx_static.lib" "D:\Tools\易语言\static_lib\mp3_static.lib" "IPHlpApi.lib" "shlwapi.lib" "Mpr.lib" "Winmm.lib" "Ws2_32.lib" "Version.lib" "rasapi32.lib" "iconv.lib" "Vfw32.lib" "Nafxcw.lib" "Libcmt.lib" kernel32.lib user32.lib gdi32.lib winmm.lib msimg32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "C:\Users\18727\Desktop\智能助手.res" /LIBPATH:"D:\Tools\易语言\static_lib" /nologo /machine:I386 /dll /out:"C:\Users\18727\Desktop\智能助手.dll" /include:__afxForceUSRDLL /def:"C:\Users\18727\Desktop\智能助手.def" 智能助手.obj : error LNK2005: _Disable@0 already defined in 智能助手.obj 智能助手.obj : error LNK2005: _Enable@0 already defined in 智能助手.obj 智能助手.obj : warning LNK4006: _Disable@0 already defined in 智能助手.obj; second definition ignored 智能助手.obj : warning LNK4006: _Enable@0 already defined in 智能助手.obj; second definition ignored Creating library C:\Users\18727\Desktop\智能助手.lib and object C:\Users\18727\Desktop\智能助手.exp C:\Users\18727\Desktop\智能助手.dll : fatal error LNK1169: one or more multiply defined symbols found 静态连接失败
F5可以运行,静态编译旧失败了
补充内容 (2023-10-31 09:13):
已自行解决 |