Thursday, November 22, 2007

Problems with iconv

I the time of linking I was getting

undefined reference to `_libiconv_open'
undefined reference to `_libiconv'
undefined reference to `_libiconv_close


This is due to a file which includes iconv.h

How do I solve?

just add -liconv at the end of linking statement

View My Stats

Click here to submit your site to the search engines for free!