私は、Visual C++ 2000のExpressの内部LNK2001/2005の問題の多くなった:彼らはどこから来たLNK2001/2005の問題を修正するにはどうすればよいですか?
1>------ Build started: Project: lice, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v140) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
2>------ Build started: Project: IPlug, Configuration: Debug Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v140) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
3>------ Build started: Project: MyFirstPlugin-app, Configuration: Debug Win32 ------
3>asio.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
3>LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in IPlug.lib(IPlugBase.obj)
3>LIBCMTD.lib(vsprintf.obj) : error LNK2005: __vsprintf_l already defined in IPlug.lib(IPlugBase.obj)
3>IPlug.lib(IPopupMenu.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>lice.lib(lice_png.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>lice.lib(lice.obj) : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z) referenced in function "public: static void __cdecl _LICE_Template_Blit2<class _LICE_CombinePixelsMulSourceAlphaClamp>::scaleBlit(unsigned char *,unsigned char *,int,int,int,int,int,int,int,int,int,int,int,int)" ([email protected][email protected][email protected]@@@[email protected])
3>lice.lib(lice_textnew.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>IPlug.lib(IPlugBase.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>IPlug.lib(IGraphicsWin.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>IPlug.lib(IGraphics.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>IPlug.lib(IControl.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
3>IPlug.lib(IPlugBase.obj) : error LNK2019: unresolved external symbol ___stdio_common_vfprintf referenced in function __vfprintf_l
3>lice.lib(pngerror.obj) : error LNK2001: unresolved external symbol ___stdio_common_vfprintf
3>IPlug.lib(IParam.obj) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
3>IPlug.lib(IPlugBase.obj) : error LNK2019: unresolved external symbol ___stdio_common_vsprintf referenced in function __vsnprintf_l
3>IPlug.lib(Log.obj) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
3>IPlug.lib(IPlugStructs.obj) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
3>IPlug.lib(IGraphicsWin.obj) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
3>IPlug.lib(IPlugBase.obj) : error LNK2019: unresolved external symbol ___stdio_common_vsscanf referenced in function __vsscanf_l
3>IPlug.lib(Log.obj) : error LNK2019: unresolved external symbol __Init_thread_header referenced in function "char const * __cdecl AppendTimestamp(char const *,char const *,char const *)" ([email protected]@[email protected])
3>lice.lib(lice_textnew.obj) : error LNK2001: unresolved external symbol __Init_thread_header
3>IPlug.lib(Log.obj) : error LNK2019: unresolved external symbol __Init_thread_footer referenced in function "char const * __cdecl AppendTimestamp(char const *,char const *,char const *)" ([email protected]@[email protected])
3>lice.lib(lice_textnew.obj) : error LNK2001: unresolved external symbol __Init_thread_footer
3>IPlug.lib(Log.obj) : error LNK2001: unresolved external symbol __Init_thread_epoch
3>lice.lib(lice_textnew.obj) : error LNK2001: unresolved external symbol __Init_thread_epoch
3>IPlug.lib(IGraphicsWin.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function "void __cdecl GetModulePath(struct HINSTANCE__ *,class WDL_String *)" ([email protected]@[email protected]@[email protected]@@Z)
3>lice.lib(pngerror.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
3>lice.lib(pngrutil.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
3>lice.lib(inftrees.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
3>lice.lib(pngerror.obj) : error LNK2019: unresolved external symbol ___acrt_iob_func referenced in function _png_default_error
3>lice.lib(pngget.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function _png_get_pHYs_dpi
3>build-win\app\Win32\bin\MyFirstPlugin.exe : fatal error LNK1120: 10 unresolved externals
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
を私は知りません。私はthisチュートリアルのオーディオプラグイン作成のための私の環境を設定しています。チュートリアルで提案されているように、私は"Properties → Linker (General) → Enable Incremental Linking → “No (/INCREMENTAL:NO)”"
を設定しましたが、成功することはありません。私はSP1もセットアップしました。
助けてください?私はVisual Studio 2015でも試しましたが、他にも問題があります。だから最初のチュートリアルに合っている方がいいです...しかし、私はこれらの問題を前に進めることはできません。
あなたの提案したリンクから 'Runtime Library property'をすべて変更しようとしましたが、変更するたびにF5を押します。しかし、私は毎回同じ結果を得ました。私は何かを "きれいにする"べきですか?それとも私はもっと何をする必要がありますか? – markzzz
'/ MT'を使うと' 3> LINK:warning LNK4098:defaultlib 'LIBCMT'は他のlibsの使用と衝突します。/NODEFAULTLIB:library 3> LINK:warning LNK4098:defaultlib 'LIBCMTD'は他のライブラリの使用と競合します。/NODEFAULTLIB:library' – markzzz
警告は(この場合)安全に無視することができます。 @マークzzz –