leosmaia21 / gcompilecommands.nvim

Small plugin for neovim to generate compile_commands.json
MIT License
12 stars 1 forks source link

:GCompileCommands failing with "Make Failed, Error 255" #4

Open andr515i opened 4 months ago

andr515i commented 4 months ago

for context, i am using Pckr to load the package, like this:

{
    "leosmaia21/gcompilecommands.nvim",
    ft = { "c", "cpp" }, -- lazy load plugin only on C and C++ filetypes
    config = function()
      require("gcompilecommands").setup{
        tmp_file_path = os.getenv("USERPROFILE") .. "/tmp/compilecommandsNEOVIM.json"
      }
    end
  },

and then i try to run the :GCompileCommands command in the root directory, inside a file, outside root directories etc, but i get the error, as stated, "Make failed, error 255". I am unsure if this error is within the package, or if there is some rudimentary step that i have missed. any help is appreciated.

okuma10 commented 2 months ago

Same issue as above