Closed GoogleCodeExporter closed 9 years ago
I am building in Windows8 using VS2012. I have a similar problem.
The compiler gives this error:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe /c /nologo
/Ox /MD /W3 /GS- /DNDEBUG -DBOOST_PYTHON_ST
ATIC_LIB -DV8_NATIVE_REGEXP -DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_IA32
-DWIN32 -D_USE_32BIT_TIME_T -IC:\Users\acver
bec\Documents\PyV8_bld\v8\include -IC:\Users\acverbec\Documents\PyV8_bld\v8
-IC:\Users\acverbec\Documents\PyV8_bld\v8\sr
c "-IC:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE"
"-IC:\Program Files (x86)\Microsoft Visual Studio 1
1.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows
Kits\8.0\include\shared" "-IC:\Program Files (x86)\Windows Kits
\8.0\include\um" "-IC:\Program Files (x86)\Windows Kits\8.0\include\winrt"
-IC:\Users\acverbec\Documents\PyV8_bld\boost_
1_55_0 -IC:\Python27\include -Ic:\python27\include -Ic:\python27\PC
/Tpsrc\Engine.cpp /Fobuild\temp.win32-2.7\Release\sr
c\Engine.obj /O2 /GL /MT /EHsc /Gy /Zi
cl : Command line warning D9025 : overriding '/MD' with '/MT'
Engine.cpp
src\Engine.cpp(357) : error C2660: 'v8::SetResourceConstraints' : function does
not take 1 arguments
error: command '"C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\BIN\cl.exe"' failed with exit status 2
I look at the code and engine.cpp looks like this:
bool CEngine::SetMemoryLimit(int max_young_space_size, int max_old_space_size,
int max_executable_size)
{
v8::ResourceConstraints limit;
limit.set_max_young_space_size(max_young_space_size);
limit.set_max_old_space_size(max_old_space_size);
limit.set_max_executable_size(max_executable_size);
return v8::SetResourceConstraints(&limit);
}
I look at v8.h -- and it looks like this:
/**
* Sets the given ResourceConstraints on the given Isolate.
*/
bool V8_EXPORT SetResourceConstraints(Isolate* isolate,
ResourceConstraints* constraints);
It looks like the parameter count for this function has changed.
ACV
Original comment by ac.verb...@gmail.com
on 22 Nov 2013 at 12:48
Original comment by flier...@gmail.com
on 25 Nov 2013 at 7:06
Original issue reported on code.google.com by
carp...@gmail.com
on 21 Nov 2013 at 3:29Attachments: