'2011/01/06'에 해당되는 글 1건
2011. 1. 6. 13:41
[스터디]
일반적으로 vc++ 6으로 작업되어있는 파일을 업데이트해서 vs2010로 컴파일을 하면,
3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(D:\4.work_prj\apr-util-1.3.10\LibD\aprutil.lib) does not match the Library's OutputFile property value (D:\4.work_prj\apr-util-1.3.10\LibD\aprutil-1.lib). 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 %(Lib.OutputFile).
3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(aprutil) does not match the Library's OutputFile property value (aprutil-1). 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 %(Lib.OutputFile).
위와 같은 에러가 나온다.
해당 프로젝트를 Solution Explorer에서 선택해서 -> 프로퍼티 -> Linker 에 세팅되어있는
Output File 을 $(OutDir)$(TargetName)$(TargetExt) 로 설정하면 된다.