我正在尝试为 Windows 构建 Chromium(使用 Visual Studio 2008 SP1),但它失败并出现大约 37 个错误。这是一个选择:
Error 1 error LNK2005: "wchar_t const * const switches::kProcessChannelID" (?kProcessChannelID@switches@@3QB_WB) already defined in ipc.lib(ipc_switches.obj) common.lib chrome_dll
Error 2 error LNK2005: "wchar_t const * const switches::kDebugChildren" (?kDebugChildren@switches@@3QB_WB) already defined in ipc.lib(ipc_switches.obj) common.lib chrome_dll
Error 3 error LNK2005: "wchar_t const * const switches::kIPCUseFIFO" (?kIPCUseFIFO@switches@@3QB_WB) already defined in ipc.lib(ipc_switches.obj) common.lib chrome_dll
Error 4 fatal error LNK1169: one or more multiply defined symbols found C:\Users\RCIX\src\chrome\Debug\chrome.dll 1 chrome_dll
这些错误是唯一会出现的错误类型,但它们会在大约六个项目中出现。我做错什么了?