Closed TbhT closed 2 years ago
你这个错误是LLVM版本不兼容导致的,LLVM 13删除了llvm::sys::fs::F_None
这个枚举,你可以把本机的LLVM版本换成12.0.1,或者手动修改源码,把F_None
换成OF_None
并重新编译.
你这个错误是LLVM版本不兼容导致的,LLVM 13删除了
llvm::sys::fs::F_None
这个枚举,你可以把本机的LLVM版本换成12.0.1,或者手动修改源码,把F_None
换成OF_None
并重新编译.你可以试试我写的llvm-bindings, 跟llvm-node功能相同,不过是基于Node.js最新的插件技术做的,最新版本兼容LLVM 13
Yes , the problem is resolved by downgrade llvm13 to llvm12, and I will try llvm-bindings later .
Thanks .
The system info: mac 12.0.1 , macOS Monterey.
When i run
yarn add llvm-node
, it occurs as follows:Is it some problems about macos system?
thanks for the response.