Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add htmlparser, htmlnode to project

What should I do to add to my project HTMLParser, htmlnode,...? Because the add (the. H and. M) but I get the following error:

libxml/HTMLparser.h file not found!

tx.

like image 606
Mariano Crespo Avatar asked Jul 20 '26 00:07

Mariano Crespo


1 Answers

  1. You have to include in "Build Phases" under "Link Binary With Libraries" the libxml.dylib
  2. Add ${SDK_DIR}/usr/include/libxml2 to "Header Search Paths"
like image 93
monavari-lebrecht Avatar answered Jul 22 '26 21:07

monavari-lebrecht