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

Consider installing clang instead of msys2 #20

Open
vt52 opened this issue Sep 15, 2022 · 3 comments
Open

Consider installing clang instead of msys2 #20

vt52 opened this issue Sep 15, 2022 · 3 comments

Comments

@vt52
Copy link

vt52 commented Sep 15, 2022

## Install MSYS2
![](images/2021-08-07T145656.png)
![](images/2021-08-07T145709.png)
Run MSYS2 after installation completes.
![](images/2021-08-07T145907.png)
You can simply install `gcc` by typing:
pacman -S gcc
![](images/2021-08-07T150326.png)
You could update the package repository as instructed in the documentaion; you can do it but you don't have to.

In Windows 11, at least, the following worked for me (and feels a little less involved than MSYS2). From admin CMD prompt:

  1. winget install LLVM.LLVM
  2. set PATH=%PATH%;%PROGRAMFILES%\LLVM\bin
  3. (optional) where clang to verify clang is available
  4. run emacs from this prompt and proceed to "Install Org-roam in Emacs" phase -- emacsql-sqlite should compile fine...
@nobiot
Copy link
Owner

nobiot commented Sep 15, 2022

Thank you. Do you need to do something to get winget working? Or every Windows 11 installation comes with it?

@vt52
Copy link
Author

vt52 commented Sep 15, 2022

looks like it's built-in to Windows 10 (build 1809 and newer) and Windows 11 [ref]

@nobiot
Copy link
Owner

nobiot commented Sep 15, 2022

Okay, thank you. I’ll see if I have it. If it works, I’ll consider switching over. I’d also see if this way works for pdf-tools (msys2 works).

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

2 participants