You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm seriously out of my depth here, but I figured I'd take take a stab at getting the V8 proxy to compile under Linux (WSL 2 - Ubuntu to be exact).
The approach I'm taking is more or less to try and port the vcxproj to a CMakeLists.txt.
I'm able to get the build kicked off but it fails with...
/mnt/c/Projects/v8dotnet/Source/V8.NET-Proxy/ContextProxy.cpp:22:69: error: no viable conversion from 'v8::Isolate *' to 'Local<v8::Context>'
auto globalObject = _Context->Global()->GetPrototype()->ToObject(_EngineProxy->Isolate());
^~~~~~~~~~~~~~~~~~~~~~~
/home/tom/v8/v8/include/v8.h:189:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for
1st argument
class Local {
^
/home/tom/v8/v8/include/v8.h:189:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st
argument
/home/tom/v8/v8/include/v8.h:193:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'v8::Isolate *'
V8_INLINE Local(Local<S> that)
^
/home/tom/v8/v8/include/v8.h:2775:22: note: passing argument to parameter 'context' here
Local<Context> context) const;
I'm not exactly sure what I'm looking at here, any ideas?
The text was updated successfully, but these errors were encountered:
Hi, not sure why I didn't get an email about your post. It seems Github sends out notices when it feels like it half the time. :/ I've been head-deep into a big project at my job and was preoccupied for a few months (but now the software is live and I can breath a bit! ;)).
One of these days I will have to try this also. That is failing on a conversion from a pointer to an isolate object, to a local stack value of type Local. That seems very bizarre given the code above. I'd have to see more, or try it myself. It could be the source you're building from is too old, or too new. ;)
So I'm seriously out of my depth here, but I figured I'd take take a stab at getting the V8 proxy to compile under Linux (WSL 2 - Ubuntu to be exact).
The approach I'm taking is more or less to try and port the vcxproj to a CMakeLists.txt.
I'm able to get the build kicked off but it fails with...
I'm not exactly sure what I'm looking at here, any ideas?
The text was updated successfully, but these errors were encountered: