After modification as Peter suggested, my js2c.cmd includes the following
items,
---------------------------begin------------------------------
@echo off
set SOURCE_DIR=%1
set TARGET_DIR=%2
set PYTHON="..\..\..\third_party\python_24\python.exe"
if not exist %PYTHON% set PYTHON=python.exe
%PYTHON% ..\js2c.py %TARGET_DIR%\experimental-libraries.cc
EXPERIMENTAL %SOURCE_DIR%\macros.py %SOURCE_DIR%\proxy.js
---------------------------end----------------------------
However, I even got more errors , as follows,
3>mksnapshot.obj : error LNK2019: unresolved external symbol "public:
static int __cdecl
v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
(?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ) referenced
in function _main
3>v8.lib(serialize.obj) : error LNK2001: unresolved external
symbol "public: static int __cdecl
v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
(?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ)
3>v8.lib(heap.obj) : error LNK2001: unresolved external symbol "public:
static int __cdecl
v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
(?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ)
3>v8.lib(bootstrapper.obj) : error LNK2001: unresolved external
symbol "public: static int __cdecl
v8::internal::NativesCollection<0>::GetBuiltinsCount(void)"
(?GetBuiltinsCount@?$NativesCollection@$0A@@internal@v8@@SAHXZ)
3>v8.lib(lithium-gap-resolver-ia32.obj) : error LNK2001: unresolved
external symbol "private: static enum v8::internal::Thread::LocalStorageKey
v8::internal::Isolate::isolate_key_"
(?isolate_key_@Isolate@internal@v8@@0W4LocalStorageKey@Thread@23@A)
...
thanks
On Apr 28, 2011 2:41am, "Alejandro F. Reimondo"
<[email protected]> wrote:
Thank you Peter for the information.
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users