2014-02-19 6 views
1

내 프로젝트는 릴리스 모드에서 잘 작동하지만 디버그 모드에서는 실행할 수 없습니다. 많은 참고 문헌을 검색하지만 문제는 해결할 수 없습니다. 다음은 결과입니다. 누구든지 나를 도울 수 있습니까? 고맙습니다! Visual Studio에서프로젝트가 디버그 모드에서 실패하지만 릴리스 모드에서 작동합니다.

1>------ Build started: Project: StreamWFSTComService20130614s2, Configuration: Debug x64 ------ 
1>atlsd.lib(atlfuncs.obj) : error LNK2005: "long __cdecl ATL::AtlComModuleRegisterClassObjects(struct ATL::_ATL_COM_MODULE70 *,unsigned long,unsigned long)" ([email protected]@@[email protected]@[email protected]) already defined in StreamWFSTComService20130606.obj 
1>atlsd.lib(atlfuncs.obj) : error LNK2005: "long __cdecl ATL::AtlComModuleRevokeClassObjects(struct ATL::_ATL_COM_MODULE70 *)" ([email protected]@@[email protected]@@Z) already defined in StreamWFSTComService20130606.obj 
1>atlsd.lib(atlfuncs.obj) : error LNK2005: "long __cdecl ATL::AtlInternalQueryInterface(void *,struct ATL::_ATL_INTMAP_ENTRY const *,struct _GUID const &,void * *)" ([email protected]@@[email protected]@[email protected]@[email protected]) already defined in WFSTCOMService.obj 
1>atlsd.lib(atlfuncs.obj) : error LNK2005: "void __cdecl ATL::AtlCallTermFunc(struct ATL::_ATL_MODULE70 *)" ([email protected]@@[email protected]@@Z) already defined in StreamWFSTComService20130606.obj 
1>atlsd.lib(atlfuncs.obj) : error LNK2005: "long __cdecl ATL::AtlModuleAddTermFunc(struct ATL::_ATL_MODULE70 *,void (__cdecl*)(unsigned __int64),unsigned __int64)" ([email protected]@@[email protected]@[email protected]@Z) already defined in WFSTCOMService.obj 
1>C:\Windows\SysWOW64\StreamWFSTComService20130918_2\StreamWFSTComService20130918\Debug\StreamWFSTComService20130614s2.exe : fatal error LNK1169: one or more multiply defined symbols found 
2>------ Build started: Project: TestSTTCom, Configuration: Debug x64 ------ 
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(1137,5): warning MSB8012: TargetPath(C:\Windows\SysWOW64\StreamWFSTComService20130918_2\StreamWFSTComService20130918\FST\TestSTTCom\.\Debug\TestSTTCom.exe) does not match the Linker's OutputFile property value (C:\Windows\SysWOW64\StreamWFSTComService20130918_2\StreamWFSTComService20130918\StreamWFSTComService20130918\Debug\TestSTT.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppBuild.targets(1139,5): warning MSB8012: TargetName(TestSTTCom) does not match the Linker's OutputFile property value (TestSTT). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 
2> TestSTT.vcxproj -> C:\Windows\SysWOW64\StreamWFSTComService20130918_2\StreamWFSTComService20130918\FST\TestSTTCom\.\Debug\TestSTTCom.exe 
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== 
+0

모두 디버그를 구성하는 다음 메뉴 디버그에 갈 수 프로젝트는 다음 고도가-enter 키를 누릅니다 선택하여 프로젝트 속성에서 확인하실 수 있습니다 디버그 빌드에 포함 된 일부 오브젝트 파일 또는 라이브러리의 릴리스 버전. 구축중인 대상에 따라 디버그 또는 릴리스 중 하나만 사용해야합니다. –

+0

답장을 보내 주셔서 감사합니다. 나는 초보자이다. 오브젝트 파일 또는 라이브러리의 디버그 및 릴리스 버전을 확인하는 방법을 알려주시겠습니까? 감사. – Kervin

답변

0

, 당신은 당신이 가진 "디버그"

관련 문제