Hi Nguyen,

It's about 15 months since I wrote the experiment V8 and Python plugins.
This plugins were written as a initial test how easy it would be to support
JavaScript and Python respectively - they simply link to the 3rd party
library and run the script but there isn't any OSG scene graph
integration.  I didn't take this work anything further as I concentrated on
the Lua plugin as it was far easier to work with and integrate with the OSG
scene graph.

I haven't tried the V8 plugin recently, and have no plans to develop it
further in the OSG-3.4 time frame so it's probably best for me to just
remove or disable this plugin.  I don't recall the V8 version I originally
compiled it with, but it would have been pulled in from Ubuntu repositories
back in 2013.  Porting it to newer versions should be possible, but for 3.4
disabling it would be my preference.

Do you have a need for V8 support?

Robert.

Do you have a specific need.

On 30 January 2015 at 01:18, nguyen duy nam <[email protected]> wrote:

> Hi,
> what is  version v8 used in osg 3.3.1, i dont know
> anyone can tell me.
> because, im build plugin v8 with v8 newer 3.28 or 3.20 it error
> 1>------ Build started: Project: Plugins v8, Configuration: Debug Win32
> ------
> 1>  V8ScriptEngine.cpp
> 1>G:\Buildnew\OpenSceneGraph-3.3.1\src\osgPlugins\V8\V8ScriptEngine.cpp(55):
> error C2248: 'v8::Persistent<v8::Context>::operator =' : cannot access
> private member declared in class 'v8::Persistent<v8::Context>'
> 1>          G:\V8_buildscript\v8\include\v8.h(766) : see declaration of
> 'v8::Persistent<v8::Context>::operator ='
> 1>G:\Buildnew\OpenSceneGraph-3.3.1\src\osgPlugins\V8\V8ScriptEngine.cpp(56):
> error C2660: 'v8::Persistent<T>::New' : function does not take 1 arguments
> 1>          with
> 1>          [
> 1>              T=v8::ObjectTemplate
> 1>          ]
> 1>G:\Buildnew\OpenSceneGraph-3.3.1\src\osgPlugins\V8\V8ScriptEngine.cpp(63):
> error C2664: 'v8::Context::Scope::Scope(const v8::Context::Scope &)' :
> cannot convert argument 1 from 'v8::Persistent<v8::Context>' to
> 'v8::Handle<v8::Context>'
> 1>          No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> ...
>
> Thank you!
>
> Cheers,
> nguyen
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=62525#62525
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to