Hello, I installed wxwidgets, my lsp recognizes it and it’s there, but I get the error „setup.h not found“. Can anybody help?
Please provide the shell.nix
that you’re using as well as the exact command and code that you’re using.
This is my flake.nix:
{
description = "A nix flake for C++ developement";
outputs = { self, nixpkgs, }:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs {
inherit system;
};
});
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [
gcc
clang
wxGTK32
];
shellHook = ''
exec zsh
'';
};
});
};
}
But when using that, the lsp doesnt recognize any headers… wtf
Nvm, that was because clang and gcc were included. But still, setup.h not found