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?
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?