You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build with vs2015, error occured as following:
C:\workspaces\google\mozc\src>python build_mozc.py build -c Release package
INFO: Running: ninja.exe -C out_win/Release mozc_win32_build32
ninja: Entering directory `out_win/Release'
[3/578] CXX obj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" /nologo /showIncludes /FC @obj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj.rsp /c ....\third_party\protobuf\src\google\protobuf\dynamic_message.cc /Foobj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj /Fdobj\protobuf\protobuf.cc.pdb
....
c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_set
c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_set(17): error C2338: <hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
....
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "build_mozc.py", line 1438, in
main()
File "build_mozc.py", line 1434, in main
procedure[1](cmd_opts, cmd_args, original_directory_name)
File "build_mozc.py", line 1056, in BuildMain
BuildOnWindows(targets)
File "build_mozc.py", line 1037, in BuildOnWindows
RunOrDie([ninja, '-C', target_dir] + tokens)
File "C:\workspaces\google\mozc\src\build_tools\util.py", line 99, in RunOrDie
'==========']))
Seems that hash_map is deprecated, and should use unordered_map, but I could not find definition of unordered_map in the project.
Can you help to make it compatible with vs2015 ? Thank you in advance!
The text was updated successfully, but these errors were encountered:
Thank you for the report but we don't support Visual Studio 2015 right now. Please use Visual Studio 2013 instead until we officially switch to Visual Studio 2015.
Note that we do have a plan to switch to Visual Studio 2015, but I'd like to focus on other high priority issues at the moment. Please subscribe #315 if you are interested in the progress on Visual Studio 2015 support in Mozc for Windows.
That said, just fixing build failures is not so difficult. I've uploaded a proof-of-concept change 518f41a into support_msvs_2015 branch just for your reference.
Hello, All
When I build with vs2015, error occured as following:
C:\workspaces\google\mozc\src>python build_mozc.py build -c Release package
INFO: Running: ninja.exe -C out_win/Release mozc_win32_build32
ninja: Entering directory `out_win/Release'
[3/578] CXX obj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" /nologo /showIncludes /FC @obj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj.rsp /c ....\third_party\protobuf\src\google\protobuf\dynamic_message.cc /Foobj\third_party\protobuf\src\google\protobuf\protobuf.dynamic_message.obj /Fdobj\protobuf\protobuf.cc.pdb
....
c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_set
c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_set(17): error C2338: <hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
....
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "build_mozc.py", line 1438, in
main()
File "build_mozc.py", line 1434, in main
procedure[1](cmd_opts, cmd_args, original_directory_name)
File "build_mozc.py", line 1056, in BuildMain
BuildOnWindows(targets)
File "build_mozc.py", line 1037, in BuildOnWindows
RunOrDie([ninja, '-C', target_dir] + tokens)
File "C:\workspaces\google\mozc\src\build_tools\util.py", line 99, in RunOrDie
'==========']))
build_tools.util.RunOrDieError:
ERROR: ninja.exe -C out_win/Release mozc_win32_build32
Seems that hash_map is deprecated, and should use unordered_map, but I could not find definition of unordered_map in the project.
Can you help to make it compatible with vs2015 ? Thank you in advance!
The text was updated successfully, but these errors were encountered: