Closed RolandWarburton closed 2 years ago
hmm i am not familiar with termux but i will look into it.
In the meantime you could try the second way of building it by just using the provided Makefile
which was the original way of doing things because i am not a cmake fan. CMake was mainly added to improve portability with windows. We will continue to support both build systems going forward.
So navigate to the repo and just run make. If build/libfzf.so
exists after running make
, everything should work and you should be able to use fzf-native
Thanks for reporting and your sponsoring :)
Just did a quick test, it seems like it was as simple as that!
So it looks like make
is a lot better here (ignoring windows), I don't know anything about make or cmake, so upon scanning the readme I took the first one (cmake) and that's how I ended up here.
Thank you for your hard work bringing fzf to neovim, I appreciate the help.
Hi all,
I am trying to compile telescope-fzf-native.nvim for my android phone through termux (latest version 0.118.0 as downloaded from github 1 hour ago).
I have installed make and cmake, GCC seems to have come with termux.
Below is the output of
make --version
Below is the output of
cmake --version
Below is the output of
nvim --version
. I have also tried dropping down to 0.7 with the same error.I am using the latest version of packer. As instructed I am using the cmake command in my packer config below.
However, after starting nvim, the make fails.
To try and gather some more information, I moved to the directory that telescope-fzf-native.nvim is located and ran the command from there (
~/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim/
)Below is the output of my attempt to install outside of nvim manually. And hopefully a useful error (unfortunately not very useful to me).
Below is a screenshot of above with the error in red as seen on the terminal.![image](https://user-images.githubusercontent.com/36120361/179221770-f563a6de-b0cd-4503-8b56-4593ac3f6131.png)
As always, termux isn't listed as supported so I never expect anything to work first try. But if you think there is something I have missed here, or where I can find this libfzf.so file your help would be appreciated.
Thanks!