Google Or-tools 多線程
一、error 1 this
"<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." GoogleOrTools c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\hash_mapspa
solution:線程
You could just have the compiler ignore it in visual studio by writing調試
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS 1rem
at the top of his header file get
see:http://stackoverflow.com/questions/30811441/how-to-fix-hash-map-is-deprecated-and-will-be-removed-please-use-unorderedhash
2.error LNK2038it
error LNK2038: 檢測到「RuntimeLibrary」的不匹配項:值「MTd_StaticDebug」不匹配值「MDd_DynamicDebugio
方法:多線程調試Dll (/MDd) 選項 ,把它改成 多線程(/MTd) 便可
從新調試便可。