OpenJDK-Research icon indicating copy to clipboard operation
OpenJDK-Research copied to clipboard

build error

Open ghost opened this issue 9 years ago • 3 comments

OpenJDK-Research/hotspot/my-test/jni/api-test/ApiTest.c:6:10: fatal error: 'ApiTest.h' file not found

include "ApiTest.h"

     ^

1 error generated. make[2]: *** [CMakeFiles/OpenJDK_Research.dir/hotspot/my-test/jni/api-test/ApiTest.c.o] Error 1 make[1]: *** [CMakeFiles/OpenJDK_Research.dir/all] Error 2 make: *** [all] Error 2

ghost avatar Dec 30 '15 07:12 ghost

同目录里有个run.bat的,直接运行它就好了。

codefollower avatar Dec 30 '15 07:12 codefollower

@codefollower : 能不能添加一个在unix eclipse/c++ 环境下构建hotspot 的文档? 如何使用命令行build hotspot ?

谢谢。

ghost avatar Jan 01 '16 05:01 ghost

在Linux下面很简单的: 这里有一个 https://github.com/codefollower/Open-Source-Research/tree/master/HotSpot1.7-JVM-Linux-x86

codefollower avatar Jan 01 '16 05:01 codefollower