'non-Unicode character set'에 해당되는 글 1건

  1. 2017.11.27 Building an MFC project for a non-Unicode character set is deprecated.

vc_mbcsmfc.zip.001

vc_mbcsmfc.zip.002

vc_mbcsmfc.zip.003

vc_mbcsmfc.zip.004

vc_mbcsmfc.zip.005

vc_mbcsmfc.zip.006

vc_mbcsmfc.zip.007

다른 사람이 사용하던 플젝 vs2012에서 빌드되던걸 2013에서 열어봤더니 에러 ;;

사실 PC도 변경...2012에서도 패치를 했는지 잘 모르겠네~ -_-;

패치를 해본다..


1>------ 빌드 시작: 프로젝트: CMyViewer, 구성: Debug Win32 ------

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(376,5): error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information.

========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========



페이지로 이동해보면 다운로드 링크를 알려준다. 

https://www.microsoft.com/en-us/download/details.aspx?id=40770

다운받고 실행 ㄱ-

열림 VS2013닫고 다시 ㄱ-...

동의~ ㄱ-


완료 ㄱ-


다시 빌드 ㄱ-


1>------ 빌드 시작: 프로젝트: CMyViewer, 구성: Debug Win32 ------

1>  stdafx.cpp

1>c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afx.h(38): warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is deprecated and may be removed in a future version of MFC.

1>          c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afx.h(33) : 'MBCS_Support_Deprecated_In_MFC' 선언을 참조하십시오.

...

...

...

1>  코드를 생성하고 있습니다...

1>     .\..\Output\Debug\CMyViewer.lib 라이브러리 및 .\..\Output\Debug\CMyViewer.exp 개체를 생성하고 있습니다.

1>LINK : warning LNK4098: 'MSVCRT' defaultlib가 다른 라이브러리와 충돌합니다. /NODEFAULTLIB:library를 사용하십시오.

1>  CMyViewer.vcxproj -> C:\Project\CMyViewer_2013\CMyViewer\.\..\Output\Debug\CMyViewer.dll

========== 빌드: 성공 1, 실패 0, 최신 0, 생략 0 ==========


빌드는 된다...-_-;;;




Posted by 라퀴옹
,