Thank you Peter for the information.
making teh changes you suggested, and
replacing "natives-empty.cc" with "experimental-libraries.cc"
under "v8/generated files" and "v8_snapshot/generated files"
makes the solution file compilation success in debug
and release mode (svn revision 7695).
cheers,
Ale.
----- Original Message -----
From: "Peter Varga" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 26, 2011 11:24 AM
Subject: Re: [v8-users] js2c.py throws error message
Hi,
An experimental-libraries.cc file need to be generated for linking
v8_mksnapshot.
You can generate it with a similar command like at
tools/visual_studio/js2c.cmd:6.
Try to add the following line to the js2c.cmd file:
%PYTHON% ..\js2c.py %TARGET_DIR%\experimental-libraries.cc EXPERIMENTAL
%SOURCE_DIR%\macros.py %SOURCE_DIR%\proxy.js
I'm not sure it's correct because I couldn't try it. Probably you should
add the experimental-libraries object to the build system too.
The idea is based on the solution in src/SConscript (look
"experimental_libraries" term up in the SConscript file).
Regards,
Peter
On Tue, 2011-04-26 at 09:12 -0300, Alejandro F. Reimondo wrote:
Hi,
Same problem here (windows, at revision: 7679).
I removed the argument in js2c.cmd
but when linking v8_mksnapshot there are unresolved externals
reported; 4 entries related with NativesCollection
Ale.
----- Original Message -----
From: "Peter Varga" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 26, 2011 6:09 AM
Subject: Re: [v8-users] js2c.py throws error message
> Hi Matthew,
>
> I'm not experienced in windows build system at all but I have already
> run into the same problem on linux.
> I think you should modify the tools/visual_studio/js2c.cmd:6 line:
> remove the %TARGET_DIR%\natives-empty.cc argument.
> The generating of the natives-empty.cc file isn't needed anymore.
>
> Regards,
> Peter
>
> On Mon, 2011-04-25 at 23:49 -0700, Matthew wrote:
>> When I compiled v8.sln, the message below is displayed,
>> 2>Processing js files...
>> 2>Traceback (most recent call last):
>> 2> File "..\js2c.py", line 364, in <module>
>> 2> main()
>> 2> File "..\js2c.py", line 361, in main
>> 2> JS2C(source_files, [natives], { 'TYPE': type })
>> 2> File "..\js2c.py", line 294, in JS2C
>> 2> lines = ReadFile(filename)
>> 2> File "..\js2c.py", line 56, in ReadFile
>> 2> file = open(filename, "rt")
>> 2>IOError: [Errno 2] No such file or directory: 'CORE'
>> 2>Project : error PRJ0002 : Error result 1 returned from 'C:\Windows
>> \system32\cmd.exe'.
>>
>> I don't know which problem caused the error .please help me! thanks.
>>
>
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users