Hi!
I have a hard time setting a correct paths with cmake for “linux headers”.
I installed linux 24 and those 2 directories were already there in “/usr/src/” directory,
linux-headrs-6.8.0-11
linux-headers-6.8.0-11-generic
then I installed build-essential package
after that I created simple cmake project in vscode and tried to include those headers
but it gives errors that headers isn’t found rwonce.h , pid.h … in other words lot of errors
Can please anyone tell me how to prepare cmake/vscode correctly for linux kernel development and automatically include all headers and dependencies in cmake ?