nobiot / Zero-to-Emacs-and-Org-roam

Step by step guide from zero to installing and setting up Emacs and Org-roam on Windows 10
Other
627 stars 47 forks source link

Consider installing `clang` instead of `msys2` #20

Open vt52 opened 1 year ago

vt52 commented 1 year ago

https://github.com/nobiot/Zero-to-Emacs-and-Org-roam/blob/3dce488da1e48164829772fb1747519941716e24/30.setup-org-roam.md?plain=1#L5-L20

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 commented 1 year ago

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

vt52 commented 1 year ago

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

nobiot commented 1 year ago

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