gjtorikian / mathematical

Convert mathematical equations to SVGs, PNGs, or MathML. A general wrapper to Lasem and mtex2MML.
https://gjtorikian.github.io/mathematical/
MIT License
164 stars 31 forks source link

Can't compile - missing libxml/tree.h #68

Open rpwatkins opened 7 years ago

rpwatkins commented 7 years ago

I have libxml2 installed and the install script is finding it prior to calling gcc, but when the gcc call is made, gcc cannot find the libxml/tree.h file.

jirutka commented 7 years ago

Have you also installed libxml2 headers, usually provided by package like libxml2-dev or libxml2-devel?

abelsromero commented 6 years ago

I know it's an old post, I am just adding more info in case it helps someone else.

I have the same issue with MSYS2. I have the lib and .h

image

But the build fails, and looking into the build console, it seems it check the previous path:

image

mast3rz3ro commented 7 months ago

@abelsromero I come across your comment because your were used MSYS2 For anybody who run into same error, please refer to here: https://github.com/moovweb/gokogiri/issues/14#issuecomment-12736547