Build V8 6.x on Windows with VS2013

36 views
Skip to first unread message

Ivan P.

unread,
Oct 31, 2017, 8:23:37 PM10/31/17
to v8-users
Hello, I want to update V8 used in my application from the version 5.3 to a some latest stable 6.x
The possible issue is that my application is built with a bit outdated nowadays Visual Studio 2013 and in the meantime I cannot upgrade to any later VS version due to some other pending dependencies.
Can anyone of V8 developers, or just someone proficient in the topic, tell me, whether latest V8 6.x still can be built with VS2013? 
(I could do it for the version I use now - some 5.3), and if not, what is the last version of V8 that can be built with VS 2013?


Ben Noordhuis

unread,
Nov 1, 2017, 7:26:37 AM11/1/17
to v8-users
I'm fairly sure that 2013 is not tested or supported anymore, so the
answer to your first question is 'probably not.'

The answer to your second question is V8 5.8 or thereabouts.

Ivan Pizhenko

unread,
Nov 1, 2017, 11:12:40 AM11/1/17
to v8-u...@googlegroups.com
Thank you!


--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/7G1IsFY3QLI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ivan Pizhenko

unread,
Nov 3, 2017, 6:49:36 PM11/3/17
to v8-u...@googlegroups.com
Actually, from these ones:
{"chromium_version": "56.0.2924.121", "v8_version": "5.6.326.55"}
{"chromium_version": "57.0.2987.154", "v8_version": "5.7.492.73"}
{"chromium_version": "58.0.3029.125", "v8_version": "5.8.283.38"}
only V8 5.6 is buildable with VS2013.

J Decker

unread,
Nov 3, 2017, 6:54:57 PM11/3/17
to v8-u...@googlegroups.com
On Fri, Nov 3, 2017 at 3:49 PM, Ivan Pizhenko <ivan.p...@gmail.com> wrote:
Actually, from these ones:
{"chromium_version": "56.0.2924.121", "v8_version": "5.6.326.55"}
{"chromium_version": "57.0.2987.154", "v8_version": "5.7.492.73"}
{"chromium_version": "58.0.3029.125", "v8_version": "5.8.283.38"}
only V8 5.6 is buildable with VS2013.

did you actually try?  Or just assume?  or just take notes from docs?
I'd imagine it doesn't have a lot of differences that would cause it to break on slightly older VS versions... although not officially supported. 
https://github.com/v8/v8/wiki/Building%20with%20Gyp says 2013 is a compiler that you can use (no mention of 2017 though; maybe just outdated?)
 
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 v8-users+unsubscribe@googlegroups.com.

Ivan Pizhenko

unread,
Nov 5, 2017, 8:29:21 PM11/5/17
to v8-u...@googlegroups.com
I have actually tried. 
I picked V8 version from stable Chromium versions and tried to compile. V8 5.6 compiled (at least, to some extent, I was interested only to compiling V8 DLLs itself, ICU DLLs and D8 executable - and all this actually compiles).
V8 5.7 and  5.8 failed to compile with VS2013. I did not try to dig deeply into source code why, but looks like VC2013 lacks some support for constexpr inside class, because it failed on the
class  .... { 
.... 
constexpr bool ..... ; // <<< FAILED HERE


Virus-free. www.avg.com
Reply all
Reply to author
Forward
0 new messages