我刚刚升级到MSVC 2012 Express(正在试用btw。我想知道为什么它应该是免费的)。经过MSVC 2005的大量更改后,它开始工作,但链接器挂起,但仅在调试模式x64中,在所有其他3种模式下它都能正常工作!以下是命令行参数(我从脚本中调用它,但是从IDE调用它时会做同样的事情。)
cl.exe / fp:precise / Od / MTd / bigobj / RTCscu / Zi / GS- / TP /Fd"!temp/DebugDebug1/MRotary/vc70.pdb“/ D_USRDLL / D_WINDLL / D_WINDOWS / DWIN64 /Fo"!temp/DebugDebug1/MRotary/main.obj“ / FR“!temp / DebugDebug1 / MRotary /”/ I“C:/ Program Files(x86)/ Microsoft Visual Studio 11.0 / Vc /包含“/ I”C:/ Program Files(x86)/ Windows 套件/ 8.0 /包含/嗯“/ I”C:/ Program Files(x86)/ Windows 套件/ 8.0 /包含/共享“/ I”C:/ Program Files (x86)/Intel/IPP/6.1.2.041/em64t/include“/ D_MBCS / c / W3 / EHsc / GF / Gd / Zc:wchar_t / Zc:forScope / nologo MDrummer / VSTEffects / main.cpp
link.exe!temp / DebugDebug1 / MRotary / icon.res!temp / DebugDebug1 / MRotary / main.obj !温度/ DebugDebug1 / MRotary / resourcesrotary.obj !temp / DebugDebug1 / MRotary / mlibrary.obj mlibraryasm_x64_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib wsock32.lib winmm.lib msimg32.lib psapi.lib opengl32.lib Glu32.lib freetype_x64_debug.lib zlib_x64_debug.lib libpng_x64_debug.lib libtiff_x64_debug.lib libjpeg_x64_debug.lib giflib_x64_debug.lib bzip2_x64_debug.lib libflac_x64_debug.lib vstsdk3_x64_debug.lib ippcoreem64tl.lib ippsemergedem64t.lib ippsmergedem64t.lib ippiemergedem64t.lib ippimergedem64t.lib ippvmemergedem64t.lib ippvmmergedem64t.lib / OUT:“c:/ program 文件/ vstplugins / MeldaProductionx64 /调制/ MRotary.dll” / INCREMENTAL:NO / DEBUG / MACHINE:X64 / SUBSYSTEM:WINDOWS /DEF:"D:/Programming/Mlibrary/mvstplugin.def“/ DLL /IMPLIB:"D:/Programming/MDrummer/!temp/DebugDebug1/MRotary.lib” / PDB:“C:/程序 文件/ vstplugins / MeldaProductionx64 /调制/ MRotary.pdb” / LIBPATH: “d:/编程/ Mlibrary /库” / LIBPATH: “d:/编程/ MDrummer” / LIBPATH: “d:/编程/ MDrummer /温度/ DebugDebug1” / LIBPATH:“d:/编程/ MDrummer / C:\程序 files \ vstplugins \ MeldaProductionx64“/ LIBPATH:”C:/ Program Files (x86)/ Microsoft Visual Studio 11.0 / Vc / lib / amd64“/ LIBPATH:”C:/ Program 文件(x86)/ Windows Kits / 8.0 / Lib / win8 / um / x64“/ LIBPATH:”C:/ Program 文件(x86)/Intel/IPP/6.1.2.441/em64t/lib“/ LIBPATH:”C:/ Program Files (x86)/Intel/IPP/6.1.2.441/em64t/stublib“/ OPT:REF / OPT:ICF / nologo /清单:否
有什么想法吗?我搜索过这里遇到了麻烦,但似乎没有任何关系。
答案 0 :(得分:0)
好的,显然它开始工作,如果我删除" / OPT:REF / OPT:ICF",但为什么和为什么只有在这种特殊情况下,这是一个问题......