Error: cannot enable iconv.h when creating c application to parse xml using libxml2

I use libxml2 to parse xml, but when compiling the solution, it throws

fatal error : cannot open iconv.h

When I placed iconv.hthere and rebuilt again, and then again selected another

error unable to open include file sys/cdefs.h.

I fall into a vicious circle. please, help

+5
source share
1 answer

Create and install libiconv on your computer and it will work

+3
source

All Articles