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

Failure to install, "Symbol's function definition is void: org-roam-mode" #17

Open scovetta opened 3 years ago

scovetta commented 3 years ago

Hello! I tried to follow the instructions to install org-roam on Windows. I started with a clean Emacs installation, added Melpa, org, and org-roam. Downloaded the sqlite executables and verified they run from the command line.

When Emacs starts, I get Symbol's function definition is void: org-roam-mode.

I uninstalled and then re-installed -- messages show:

Could not find C compiler, skipping SQLite build
Org-roam initialization: (error "No EmacSQL SQLite binary available, aborting")
Operation [ Install 1 ] finished

The docs suggest that this step isn't necessary if I make the sqlite executables available (by adding it to exec-path).

So I'm not sure if I'm doing something wrong -- I tried specifying the path as c:/dev/bin, which is a directory that contains sqlite3.exe, etc., but also with the slashes the other way, and suffixed with a slash.

Thanks so much!

nobiot commented 3 years ago

Sorry as noted in the README, this guide is not currently compatible with v2 of Org-roam, which is what you download from MELPA.

scovetta commented 3 years ago

Sorry about that! My fault.

(For future readers -- I was able to get this working for v2 by downloading msys2, installing it, and then adding it to the environment path, then re-installing org-roam. There was some twiddling needed, but worked fine with that.)