Home » U++ Library support » U++ Library : Other (not classified elsewhere) » v8 JavaScript: Hello World
v8 JavaScript: Hello World [message #27326] |
Mon, 12 July 2010 16:01 |
|
Hello All,
I made a simple test how to use v8 in U++.
Steps (Already did in the attached example):
1. Build v8 sourcecode in release mode as shared library
2. copy v8.lib in the uploaded package lib/bin
2. Copy the latest headers from include v8 folder to uploaded folder lib/include
3. build simple code in u++
4. copy the file v8.dll in the executable folder and run the executable.
All steps (except 4) already made and uploaded in the attached example with v8 svn revision 5044 (http://code.google.com/p/v8/source/list)
For test the attached example just download, build and copy the file v8.dll (from lib/bin) in the executable folder and run the executable.
This test works only for win32 and did not tested with u++ packages (e.g. Core, CtrLib, ...).
In future I will try to test and integrate with U++ Core Package for make converters to/from v8 values.
Any ideas are welcome!
Best regards, Ion Lupascu (tojocky)
|
|
|
Goto Forum:
Current Time: Tue May 07 21:02:01 CEST 2024
Total time taken to generate the page: 0.02477 seconds
|