Compile hotspot VS2010 project errors,

Dang Nhan Nguyen nhann at
Mon Dec 20 17:24:33 UTC 2010

Hi everyone,

I have successfully built OpenJDK7 on Windows 7, using VS2010.

Now I create a VC2010 project of the hotspot with hotspot/make/windows/create.bat script.
The I compile the created project in VS2010, and got the below error (So far, I have not change anything in the hotspot source code):

1>------ Build started: Project: vm, Configuration: compiler1_debug Win32 ------
1>  java.cpp
1>D:\Tools\openjdk\openjdk7\openjdk\hotspot\src\cpu\x86\vm\interp_masm_x86_64.hpp(65): error C2065: 'r13' : undeclared identifier
1>D:\Tools\openjdk\openjdk7\openjdk\hotspot\src\cpu\x86\vm\interp_masm_x86_64.hpp(69): error C2065: 'r13' : undeclared identifier
1>D:\Tools\openjdk\openjdk7\openjdk\hotspot\src\cpu\x86\vm\interp_masm_x86_64.hpp(73): error C2065: 'r14' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Could somebody explain about the problem and solution suggestion?

Thank you,

More information about the hotspot-gc-dev mailing list