you need to add the v8 directory to your include paths (not v8/include - though having both is also fine).
And yes, you have to link against the .lib file, there is no dll support for v8_libplatform (yet) best -jochen On Wed, Sep 10, 2014 at 4:28 AM, James W <[email protected]> wrote: > I compiled V8 successfully, and included "libplatform.h" in my host code > (in order to call "v8::platform::CreateDefaultPlatform()"). "libplatform.h" > now complains "error C1083: Cannot open include file: > '\include/v8-platform.h': No such file or > directory ....\include\libplatform\libplatform.h". I can see that > "v8_libplatform.lib" exists in V8's 'lib' folder, but no dll in the dll > output folder (the parent folder). Is there supposed to be a DLL, or is it > part of an existing one? Not sure how this is put together. > > On Friday, 5 September 2014 03:53:32 UTC-4, Jochen Eisinger wrote: >> >> Note that you'll also need to link against the v8_libplatform library to >> make this work >> >> best >> -jochen >> >> >> On Fri, Sep 5, 2014 at 9:23 AM, Sven Panne <[email protected]> wrote: >> >>> You need to initialize the platform, see e.g. https://code.google.com/ >>> p/v8/source/browse/branches/bleeding_edge/samples/shell.cc#82. No fancy >>> locking etc. involved here, the platform is internally just a global >>> variable. Not nice, but OK for now... >>> >>> -- >>> -- >>> 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. >>> >> >> -- > -- > 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. > -- -- 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.
