Hi, thanks for your reply.
Previous to this I have setup the toolchain by following the ESP Getting Started guide, which installs the toolchain and clones an IDF and then configures the env variables. Whenever I have done that, it works fine.
I came here to seek help because I am now settings everything up using just the VisualGDB GUI and it is the first time I have had this problem. So I presumed it must be a VisualGDB issue.
Building the program from command line it actually doesn’t build as it can’t pull in the header files, so this is my only option at the moment…