I'm new to programming. I'm currently working on a web scrapper using C++. I'm using the cpr and gumbo libraries (installed using vcpkg). Whenever I try to run my code I get the error,
scrapper.cpp:3:10: fatal error: 'cpr/cpr.h' file not found #include "cpr/cpr.h" ^~~~~~~~~~~ 1 error generated
I have no idea where I need to write the file path. This is the path to the file documents/GitHub/vcpkg/packages/cpr_arm64-osx/include/cpr
.
So far I've tried to write the entire directory of the file in the preprocessor directive. ex) #include "documents/GitHub/vcpkg/packages/cpr_arm64-osx/include/cpr/cpr.h"
. I've also tried to make a c_cpp_properties.json
file to write my file path there but I wasn't able to figure out what to write there.