Coder Social home page Coder Social logo

Comments (7)

kazenix avatar kazenix commented on June 14, 2024

I was running into a similar issue the other day, ultimately the problem was that I didn't have the required build tools for telescope-fzf-native. Check that you've got CMake, and the Microsoft C++ Build Tools installed.

from kickstart.nvim.

tjdevries avatar tjdevries commented on June 14, 2024

Oh, that's good to know. Is there an easy way to check if that's installed on windows @kazenix ? I will add a check to not try and install it if it's missing

from kickstart.nvim.

kodecraft avatar kodecraft commented on June 14, 2024

tks Kazenix, TJ. I have installed Microsoft C++ Build Tools (that includes CMake) but still not helping me. Wondering if there is some log that can tell me what's missing so I can try fixing? I checked the nvim log and found the following:

ERR 2022-12-18T10:55:11.679 nvim.22744.0 terminfo_start:361: uv_tty_set_mode failed: invalid argument

not sure if it is then related to neovim/neovim#21445 ?

configuring max_jobs >= 10 also did nothing for me too.

from kickstart.nvim.

kazenix avatar kazenix commented on June 14, 2024

@tjdevries Specifically when I ran into that, it was on my macbook (wasn't installing via kickstart as i hadn't seen the video yet, just followed the docs for telescope-fzf-native.). I'll do some research and see if I can find some checks for that in windows though. I've got my gaming desktop, and would love to have it set up for minor dev stuff too.

It looks like there's a slightly different run command for windows/cmake. @kodecraft have you tried switching out that run command? from the telescope-fzf-native docs use {'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }

from kickstart.nvim.

kodecraft avatar kodecraft commented on June 14, 2024

Tks for the pointer - that worked! Changing the "run command" to using either the cmake or make windows variant worked for me.

from kickstart.nvim.

kazenix avatar kazenix commented on June 14, 2024

@tjdevries In doing some poking around this morning, it looks like using vim.fn.executable("cmake") does work for testing if cmake is present on the system, at least in powershell and neovide. I'm having lua issues with WSL that are preventing my config from working there, so I haven't been able to test that (likely down to it being nvim v0.7.2, but not sure yet).

Seeing as the goal here seems to be adding a simple boostrap anyone can pick apart and understand, adding OS type checks as well as executable checks seems a bit overkill. Perhaps just some documentation of the edge case for Windows would suffice?

from kickstart.nvim.

tjdevries avatar tjdevries commented on June 14, 2024

Yeah, that would be useful to include @kazenix if you have some more information that can be easily added (or maybe a windows section in the readme) that's fine w/ me. I can work with you on a PR if you submit one

from kickstart.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.