How to install gumbo.h for C++?

999 Views Asked by At

I am running LXLE on an Oracle VirtualBox computer. I have successfully installed gumbo for python, but I cannot find how to install the gumbo library for C++, so that if I have a C++ file that includes gumbo.h in the headers, it will actually run.

I am trying to compile a file called countWordsInSite_iterative.cpp using the following command:

g++ countWordsInSite_iterative.cpp -o countWordsInSite -lcurl -lgumbo -g

I get the following error:

countWordsInSite_iterative.cpp:32:10: fatal error: gumbo/gumbo.h: No such file or directory
 #include <gumbo/gumbo.h>  // For HTML parser

How can I install the necessary files to include gumbo.h?

0

There are 0 best solutions below