m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

add instructions for devkit

ecx86
2016-11-05 21:09:49 -04:00
parent 042f00f41a
commit 4e2acfe724

@@ -13,3 +13,11 @@ gem install curses
pacman -S base-devel gcc gmp-devel libcrypt-devel ncurses-devel pacman -S base-devel gcc gmp-devel libcrypt-devel ncurses-devel
gem install curses gem install curses
``` ```
## DevKit (Windows)
1. Download [ncurses Windows port](http://invisible-island.net/datafiles/release/mingw64.zip). [[x86]](http://invisible-island.net/datafiles/release/mingw32.zip)
2. Unzip to anywhere, for example `C:\ncurses`.
3. Run `gem install curses --platform=ruby -- --with-ncurses-dir="C:\ncurses"` (Replace `C:\ncurses` with wherever you extracted it).
4. Now when we `require 'curses'` we get `The specified module could not be found`. Opening up `curses.so` in a disassembler we see `libncursesw6.dll` is loaded.
5. To fix this copy the contents of `C:\ncurses\bin` to somewhere in your path.
6. Done!