1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(936,5): warning MSB8027: Two or more files with the name of logging.cc will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ..\channel\logging.cc, ..\system_wrappers\source\logging.cc.
編譯一個靜態庫報了一個這個警告,沒有注意,後面編譯動態庫,包含這個靜態庫,才發現連接錯誤。
後面把這兩個相同的文件名修改成不同的,就可以鏈接成功了。