尝试在OSX上构建,遇到以下antlr错误。需要安装antlr-runtime吗?
[ 43%] Built target antlr4_runtime
[ 43%] Built target csv_infer
[ 45%] Performing build_static step for 'antlr4_runtime'
make[4]: *** No rule to make target `antlr4_static'. Stop.
make[3]: *** [antlr4_runtime/src/antlr4_runtime-stamp/antlr4_runtime-build_static] Error 2
make[2]: *** [CMakeFiles/antlr4_runtime-build_static.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [dev] Error 2
答案 0 :(得分:0)
现在是fixed。
CMake 3.14更改了ExternalProject
模块构建源的位置。无法找到ANTLR自己的CMake文件,因此需要更改WORKING_DIRECTORY
。