Check the files via `dir` command. You should see these files:
Check the files via `dir` command. You should see these files:
```powershell
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 22/03/2020 12:10 PM 5170 emacsql.c
-a---- 22/03/2020 12:10 PM 439 Makefile
-a---- 22/03/2020 12:10 PM 7516138 sqlite3.c
-a---- 22/03/2020 12:10 PM 526684 sqlite3.h
```
```powershell
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 22/03/2020 12:10 PM 5170 emacsql.c
-a---- 22/03/2020 12:10 PM 439 Makefile
-a---- 22/03/2020 12:10 PM 7516138 sqlite3.c
-a---- 22/03/2020 12:10 PM 526684 sqlite3.h
```
5. Compile the `.exe` file via`make`
5. Compile the `.exe` file with`make`
```powershell
make emacsql-sqlite CC=gcc LDLIBS=
```
```powershell
make emacsql-sqlite CC=gcc LDLIBS=
```
You will see the process triggered with lots of text automatically scrolls down; it may take a couple of minutes for compilation to complete.
You will see the process triggered with lots of text automatically scrolling down; it may take a couple of minutes for compilation to finish.
Once compilation is finished, check that `emacsql-sqlite.exe` has been added to the directory.
Once compilation is done, check that `emacsql-sqlite.exe` has been added to the directory.
6. Relaunch Emacs, use `org-roam`
When you launch `org-roam` (e.g. via `org-roam-mode`), now you should no longer see the "No EmacSQL SQLite binary available, aborting" error. You are good to go.
When you start `org-roam` (e.g. via `org-roam-mode`), now you should no longer see the "No EmacSQL SQLite binary available, aborting" error. You are good to go.
### emacsql-sqlite3
@ -189,4 +188,4 @@ make emacsql-sqlite CC=gcc LDLIBS=
3. In `(defun org-roam-db ...`, replace `emacsql-sqlite`
with `emacsql-sqlite3`
3. If you compile `.el` files, ensure to replace the `org-roam-db.elc` with the new source you modified.
3. If you compile `.el` files, ensure to replace `org-roam-db.elc` with the new source you modified.