For turning off the option, you probably had wrong command. In fact, on the 
linking errors, did you download the correct ICU files? 
 
Solutions files generated by "python build\gyp_v8 -Dtarget_arch=x64" builds 
fine for me without icu issues. I just tried "python build\gyp_v8 
-Dtarget_arch=x64 -Di18nsupport=off" and d8 builds fine except that you 
need to turn off "Treat Warnings as Errors" in v8_base for issues like 
below.

warning C4267: 'argument' : conversion from 'size_t' to 'int', possible 
loss of data
The following steps were mentioned in v8 wiki and you have to follow before 
generating solutions files:
svn co http://gyp.googlecode.com/svn/trunk build/gyp --revision 1831
svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin 
third_party/cygwin --revision 66844
svn co https://src.chromium.org/chrome/trunk/deps/third_party/icu52 
third_party/icu --revision 277999
I used MSVS2012 and I set environment variable GYP_MSVS_VERSION=2012. Good 
luck!
Thanks,
Prince

On Friday, August 8, 2014 9:28:47 AM UTC-7, Keith Seifert wrote:

> GYP does not seem to understand i18nsupport=off. Can you give me an 
> example?
>
> On Thursday, August 7, 2014 4:28:06 PM UTC-6, Keith Seifert wrote:
>>
>>  
>>
>> I generated the visual studio projects using gyp with the 
>> –Dtarget_arch=x64 flag and the build fails when I try to build v8 because 
>> when it builds mksnapshot there are link errors  (symbols that don’t seem  
>> to exist in v8_base.lib). Anyone know what is up with this?
>>
>>  Here are just some of the errors;
>>
>>  
>>
>> 10>------ Build started: Project: mksnapshot, Configuration: Debug x64 
>> ------
>>
>> 10>Build started 8/7/2014 4:16:36 PM.
>>
>> 10>InitializeBuildStatus:
>>
>> 10>  Touching 
>> "..\..\..\build\Debug\obj\mksnapshot\mksnapshot.unsuccessfulbuild".
>>
>> 10>ClCompile:
>>
>> 10>  All outputs are up-to-date.
>>
>> 10>ManifestResourceCompile:
>>
>> 10>  All outputs are up-to-date.
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> uloc_toLanguageTag_46 referenced in function "class v8::internal::Object * 
>> __cdecl v8::internal::__RT_impl_Runtime_CanonicalizeLanguageTag(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_CanonicalizeLanguageTag@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(i18n.obj) : error LNK2001: unresolved external symbol 
>> uloc_toLanguageTag_46
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> uloc_forLanguageTag_46 referenced in function "class v8::internal::Object * 
>> __cdecl v8::internal::__RT_impl_Runtime_CanonicalizeLanguageTag(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_CanonicalizeLanguageTag@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(i18n.obj) : error LNK2001: unresolved external symbol 
>> uloc_forLanguageTag_46
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: static class icu_46::Locale const * __cdecl 
>> icu_46::BreakIterator::getAvailableLocales(int &)" 
>> (?getAvailableLocales@BreakIterator@icu_46@@SAPEBVLocale@2@AEAH@Z) 
>> referenced in function "class v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_AvailableLocalesOf(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_AvailableLocalesOf@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: static class icu_46::Locale const * __cdecl 
>> icu_46::DateFormat::getAvailableLocales(int &)" 
>> (?getAvailableLocales@DateFormat@icu_46@@SAPEBVLocale@2@AEAH@Z) referenced 
>> in function "class v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_AvailableLocalesOf(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_AvailableLocalesOf@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: static class icu_46::Locale const * __cdecl 
>> icu_46::NumberFormat::getAvailableLocales(int &)" 
>> (?getAvailableLocales@NumberFormat@icu_46@@SAPEBVLocale@2@AEAH@Z) 
>> referenced in function "class v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_AvailableLocalesOf(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_AvailableLocalesOf@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: static class icu_46::Locale const * __cdecl 
>> icu_46::Collator::getAvailableLocales(int &)" 
>> (?getAvailableLocales@Collator@icu_46@@SAPEBVLocale@2@AEAH@Z) referenced in 
>> function "class v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_AvailableLocalesOf(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_AvailableLocalesOf@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: virtual __cdecl icu_46::Locale::~Locale(void)" 
>> (??1Locale@icu_46@@UEAA@XZ) referenced in function "class 
>> v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_GetDefaultICULocale(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_GetDefaultICULocale@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(i18n.obj) : error LNK2001: unresolved external symbol 
>> "public: virtual __cdecl icu_46::Locale::~Locale(void)" 
>> (??1Locale@icu_46@@UEAA@XZ)
>>
>> 10>v8_base.lib(runtime.obj) : error LNK2019: unresolved external symbol 
>> "public: __cdecl icu_46::Locale::Locale(void)" (??0Locale@icu_46@@QEAA@XZ) 
>> referenced in function "class v8::internal::Object * __cdecl 
>> v8::internal::__RT_impl_Runtime_GetDefaultICULocale(class 
>> v8::internal::Arguments,class v8::internal::Isolate *)" 
>> (?__RT_impl_Runtime_GetDefaultICULocale@internal@v8@@YAPEAVObject@12@VArguments@12@PEAVIsolate@12@@Z)
>>
>> 10>v8_base.lib(i18n.obj) : error LNK2001: unresolved external symbol 
>> "public: __cdecl icu_46::Locale::Locale(void)" (??0Locale@icu_46@@QEAA@XZ)
>>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to