How do I add third-party(private) libraries downloaded from the Internet?(No such file or directory)

Totally wrong. You didn’t follow the required folder structure at all.

This is also explained in every README file in the lib/ folder

The c_cpp_properties.json is auto-generated, never ever edit it yourself, if you’ve placed the files in the correct places and did the configuration right, this file will be automatically correct.

Also, where is the header file that belongs to that .c file? You want to have a .h file that declares all the functions implemented in the .c file so that you can call it externally.

1 Like