Make sure you downloaded/installed the windows 2008 sdk, and used gclient sync.
2009/4/16 krtulmay <[email protected]> > > Have you done a "gclient sync" since downloading the source code? > > On Apr 16, 10:27 am, kd82 <[email protected]> wrote: > > Yes, I am. > > Visual Studio 2005 SP1 with hotfixes 935225 and 947315 as required. > > > > On 17 апр, 00:03, Dremation <[email protected]> wrote: > > > > > > > > > Are you using VS2005? > > > > > On Apr 16, 4:07 am, kd82 <[email protected]> wrote: > > > > > > Hi > > > > > > I downloaded latest Chromium source code from trunk (rev. 13343) and > > > > tried to build it in Visual Studio 2005 under Windows XP. However, I > > > > received a bunch of similar linker errors for 4 projects: > tld_cleanup, > > > > crash_service, chrome_dll, chrome_exe. The error looks like this: > > > > > > error LNK2001: unresolved external symbol "public: static void > __cdecl > > > > std::_Locinfo::_Locinfo_ctor(...)" > > > > > > For example, here's the errors I got for chrome_exe: > > > > > > 4>------ Build started: Project: chrome_exe, Configuration: Debug > > > > Win32 ------ > > > > 4>Generating version template file > > > > 4>Compiling resources... > > > > 4>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 > > > > 4>Copyright (C) Microsoft Corporation. All rights reserved. > > > > 4>Linking... > > > > 4> Creating library D:\Temp\Chromium\src\chrome\Debug\lib > > > > \chrome_exe.lib and object D:\Temp\Chromium\src\chrome\Debug\lib > > > > \chrome_exe.exp > > > > 4>base.lib(system_monitor.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(message_pump_win.obj) : error LNK2019: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) referenced in function > > > > "public: void __thiscall std::locale::facet::_Incref(void)" (? > > > > _inc...@facet@loc...@std@@QAEXXZ) > > > > 4>base.lib(system_monitor_win.obj) : error LNK2001: unresolved > > > > external symbol "public: static void __cdecl > > > > std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class > > > > std::basic_string<char,struct std::char_traits<char>,class > > > > std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(waitable_event_win.obj) : error LNK2001: unresolved > > > > external symbol "public: static void __cdecl > > > > std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class > > > > std::basic_string<char,struct std::char_traits<char>,class > > > > std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(histogram.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(time_win.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(pickle.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(message_loop.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(file_util.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(file_util_win.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(platform_thread_win.obj) : error LNK2001: unresolved > > > > external symbol "public: static void __cdecl > > > > std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class > > > > std::basic_string<char,struct std::char_traits<char>,class > > > > std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(lock_impl_win.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(logging.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(string_util.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(win_util.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>base.lib(process_util_win.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>util.lib(install_util.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>util.lib(l10n_string_util.obj) : error LNK2001: unresolved external > > > > symbol "public: static void __cdecl > std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>util.lib(create_dir_work_item.obj) : error LNK2001: unresolved > > > > external symbol "public: static void __cdecl > > > > std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class > > > > std::basic_string<char,struct std::char_traits<char>,class > > > > std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>sandbox.lib(Wow64.obj) : error LNK2001: unresolved external symbol > > > > "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class > > > > std::_Locinfo *,class std::basic_string<char,struct > > > > std::char_traits<char>,class std::allocator<char> > const &)" (? > > > > _locinfo_c...@_locinfo@std@@saxpa...@abv?$basic_string@DU? > > > > $char_tra...@d@std@@v?$alloca...@d@2@@2@@Z) > > > > 4>D:\Temp\Chromium\src\chrome\Debug\chrome.exe : fatal error LNK1120: > > > > 1 unresolved externals > > > > 4>Build log was saved at > "file://D:\Temp\Chromium\src\chrome\Debug\obj > > > > \chrome_exe\BuildLog.htm" > > > > 4>chrome_exe - 21 error(s), 0 warning(s) > > > > > > I tried to upgate tree to a later revision, but it didn't help - I > > > > still get these linker errors. > > > > Does anybody have an idea what should I do to get rid of them and > > > > build chrome_exe? > > > > > > Thanks.- Скрыть цитируемый текст - > > > > > - Показать цитируемый текст - > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
