aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.04k stars 541 forks source link

compiling error in The Asian version of VS #400

Open YiMunDong opened 5 years ago

YiMunDong commented 5 years ago

Describe the bug

-> new project creation and compiling error in The Asian version of VS.

Steps to reproduce

-> When creating a new project, using the Korean or Japanese version of Visual studio(2015/2017) causes C4819 warning. this warnings are treated as errors(error C2220) and builds do not work.

Expected beavior

-> i think, the problem with string code(ansi/unicode) in .cpp document files.

'/ wd4819' option must be specified by default in the 'compile_settings_msvc.py' file.

Screenshots/Logs

-> log

E:\Amazon\Lumberyard\1.18.0.0\3rdParty\boost\1.61.0-az.2\boost/python/opaque_pointer_converter.hpp: error C2220: 경고가 오류로 처리되어 생성된 'object' 파일이 없습니다.

E:\Amazon\Lumberyard\1.18.0.0\3rdParty\boost\1.61.0-az.2\boost/python/opaque_pointer_converter.hpp: warning C4819: 현재 코드 페이지(949)에서 표시할 수 없는 문자가 파일에 들어 있습니다. 데이터가 손실되지 않게 하려면 해당 파일을 유니코드 형식으로 저장하십시오.

Lumberyard version

-> all versions

**OPTIONAL] What is your role in game development??

-> programmer

*OPTIONAL] Tell us about your project or study.

GameInstitute commented 4 years ago

Open dev/Tools/build/waf-1.7.13/lmbrwaflib/msvs_override_handling.py

in def _get_project_overrides(ctx, target)

Change file = open(vcxproj_file) to file = open(vcxproj_file,encoding='utf-8')