在“发布”模式下构建时出现以下错误。调试工作正常。在我的配置中关闭了使用 ATL
Error 43 error LNK2005: "char const * const g_pszAllocFileMapName" (?g_pszAllocFileMapName@@3PBDB) already defined in atls.lib(Externs.obj) atlsd.lib
Error 44 error LNK2005: "char const * const g_pszKernelObjFmt" (?g_pszKernelObjFmt@@3PBDB) already defined in atls.lib(Externs.obj) atlsd.lib
Error 42 error LNK2005: "char const * const g_pszUpdateEventName" (?g_pszUpdateEventName@@3PBDB) already defined in atls.lib(Externs.obj) atlsd.lib
Error 45 error LNK2005: "class CAtlAllocator g_Allocator" (?g_Allocator@@3VCAtlAllocator@@A) already defined in atls.lib(Externs.obj) atlsd.lib
Error 41 error LNK2005: "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA) already defined in atls.lib(atltrace.obj) atlsd.lib
Error 49 fatal error LNK1169: one or more multiply defined symbols found C:\Secure\Source\cutlas\Core\Adapters\PRISAdapter\Release\PRISAdapter.exe 1
有任何想法吗