I am trying to, it fails on the first line of: // Create a new context. v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); // <-- fails here context_ = v8::Context::New(NULL, global);
On Fri, Oct 7, 2011 at 9:57 AM, Ondřej Žára <ondrej.z...@gmail.com> wrote: > Have you created and entered a context prior to declaring first V8 > variable? > > > O. > > > 2011/10/7 Adrian <adrianbash...@gmail.com> > >> The actual error sent to the console is: >> >> # >> # Fatal error in c:\svn\v8\trunk\src\isolate.h, line 444 >> # CHECK(isolate != 0) failed >> # >> >> On Oct 6, 2:39 pm, Adrian <adrianbash...@gmail.com> wrote: >> > Hi, >> > >> > As soon as I declare the first v8 variable in my code, my application >> > triggers a break point. >> > >> > Upon debugging, the problem is in i::Isolate::Current(), where the >> > assertion ASSERT(isolate != NULL); fails. >> > >> > This seems to be a linking problem, since it does not happy in another >> > project. >> > >> > Does anybody know what would cause this to happen? >> > >> > I am working in visual studio 2005, and my project links statically to >> > v8. >> > >> > Thanks a lot, >> > >> > Adrian. >> >> -- >> v8-users mailing list >> v8-users@googlegroups.com >> http://groups.google.com/group/v8-users >> > > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users