Skip to content

Commit a7cb977

Browse files
authored
Update windows guide (#239)
1 parent f73b440 commit a7cb977

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,13 @@ behind this is that maintaining each sqlite's connection command pool is
189189
complicated and error prone.
190190
191191
192-
# Compiling NIF for Windows
192+
## Compiling NIF for Windows
193+
193194
When compiling on Windows, you will need the [Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) or equivalent toolchain. Please make sure you have the correct environment variables, including path to compiler and linker and architecture that matches `erl.exe` (likely x64).
194195
195196
You may also need to invoke `vcvarsall.bat amd64` _before_ running `mix`.
196197
198+
A guide is available at [guides/windows.md](./guides/windows.md)
197199
198200
## Contributing
199201

guides/windows.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
> Exqlite uses an [Erlang NIF](https://erlang.org/doc/tutorial/nif.html) under the hood.
44
> Means calling a native implementation in C.
55
6-
For Windows users this means compiling Exqlite does not magically just work.
6+
For Windows users this means compiling Exqlite does not magically just work,
7+
in case it's not able to use the precompiled versions of SQLite (using advanced configuration - compile flags).
78
Under the hood mix will try to compile the library with NMAKE on Windows.
89
For this, NMAKE and C++ build tools needs to be available.
910

0 commit comments

Comments
 (0)