0

In the folder with all my C-files I include the headerfile pic32mx.h in my c-files

#include <pic32mx.h> 

But when compiling any of those c-files I get the error

fatal error: 'pic32mx.h' file not found

I went into the json-file of the folder (called c_cpp_properties.json) to set the includePath for the headerfile like this (I added the second path):

 "includePath": [
            "${workspaceFolder}/**",
            "/Applications/mcb32tools.app/Contents/Resources/Toolchain/include"
            
            
        ],

Yet I still get the error of not being able to compile the program, the header file is not found. I am running GCC on Mac OS and the IDEA is Visual Studio Code.

0 Answers0