Requirements?
ChocolateLoverRaj opened this issue · comments
I am using windows 10. What do I need to do to use llvm-node? I tried installing LLVM-13.0.1-win64.exe. Then when I installed llvm-node
, I got this error:
CMake Error at CMakeLists.txt:6 (find_package):
│ Could not find a package configuration file provided by "LLVM" with any of
│ the following names:
│ LLVMConfig.cmake
│ llvm-config.cmake
│ Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
│ "LLVM_DIR" to a directory containing one of the above files. If "LLVM"
│ provides a separate development package or SDK, be sure it has been
│ installed.
Do I need to download llvm source code?
You must ensure that the llvm you install provides the necessary cmake files.
There is no cmake file for llvm installed by pre-built binaries on Windows.
It is recommended that you install llvm by vcpkg.
@ApsarasX I tried installing with vcpkg
, but the installation didn't work.
I don't think this works on the latest version of Mac.
I don't think this works on the latest version of Mac.
llvm-node
does not support LLVM 13.
May be you could try llvm-bindings
@ApsarasX I will try it
@ApsarasX I'm using Windows 10 so I can't use llvm-bindings
@ApsarasX I'm using Windows 10 so I can't use
llvm-bindings
sorry, llvm-bindings
only support Linux and macOS.😂
You can try it in WSL2.
@ApsarasX I installed WSL2 and after setting everything up llvm-bindings
worked 😄