Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements? #141

Open
ChocolateLoverRaj opened this issue Feb 14, 2022 · 9 comments
Open

Requirements? #141

ChocolateLoverRaj opened this issue Feb 14, 2022 · 9 comments

Comments

@ChocolateLoverRaj
Copy link

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?

@ApsarasX
Copy link

ApsarasX commented Feb 14, 2022

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.

@ChocolateLoverRaj
Copy link
Author

@ApsarasX I tried installing with vcpkg, but the installation didn't work.

@lancejpollard
Copy link

I don't think this works on the latest version of Mac.

@ApsarasX
Copy link

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

@ChocolateLoverRaj
Copy link
Author

@ApsarasX I will try it

@ChocolateLoverRaj
Copy link
Author

@ApsarasX I'm using Windows 10 so I can't use llvm-bindings

@ApsarasX
Copy link

ApsarasX commented Feb 18, 2022

@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.

@ChocolateLoverRaj
Copy link
Author

ChocolateLoverRaj commented Feb 19, 2022

@ApsarasX I installed WSL2 and after setting everything up llvm-bindings worked 😄

@ApsarasX
Copy link

ApsarasX commented Mar 1, 2022

@ApsarasX I'm using Windows 10 so I can't use llvm-bindings

llvm-bindings v0.3.5 has supported Windows 10, and you can try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants