This project has moved and is read-only. For the latest updates, please go here.

Problem building the 5.4.7 in the v8 32 bit step

Sep 15, 2016 at 10:56 AM
Edited Sep 15, 2016 at 11:45 AM
I am getting this error when trying to build the v8 engine using the 5.4.7 ClearScript package.

"C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.sln" (v8 target) (1) ->
"C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.vcxproj.metaproj" (default target) (2) ->
"C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.vcxproj" (default target) (14) ->
(Link target) ->
v8_base_3.lib(bytecode-register-optimizer.obj) : error LNK2005: "private: static unsigned int const v8::internal::interpreter::BytecodeRegisterOptimizer::kInvalidEquivalenceId" (?kInvalidEquivalenceId@BytecodeRegisterOptimizer@interpreter@internal@v8@@0IB) already defined in v8_base_2.lib(bytecode-array-builder.obj) [C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.vcxproj]
..\build\Release\v8-ia32.dll : fatal error LNK1169: one or more multiply defined symbols found [C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.vcxproj

The build process goes fine up to the building v8 32bit step.

To me it looks like that something is wrong in the code.

I have been able to build ClearScript before on this computer.
Sep 15, 2016 at 4:03 PM
Hello dennisdc,

We cannot reproduce this on the following configurations:
  • Windows 10 64-bit, Visual Studio 2015 with Updates 2 and 3
  • Windows 7 32-bit, Visual Studio 2013 with Update 5
Can you describe your configuration?

Sep 15, 2016 at 4:11 PM
Windows 7 64-bit, Visual Studio 2013 with no updates.

I am currently in the process of updating my VS 2013 now to Update 5, and will report back if it changes anything.
Sep 15, 2016 at 4:53 PM
Updating VS to update 5 seems to have solved the problem, and I encountered no problems when compiling with the updated version.

Seems a little strange to me, that the update could have such a big impact on the compilation, and it works now, and I am happy :)

Thank you very much for the help.
Sep 15, 2016 at 11:14 PM
That's great to hear. Thanks!