c++, MingW, undefined reference to `libiconv'
Question
I'm getting these errors with MingW:
undefined reference to `libiconv_close'
undefined reference to `libiconv_open'
undefined reference to `libiconv'
I have the libiconv package from MingW installed. What is causing this? If this is of some importance, I'm trying to get tinygettext working.
Solution
You must have forgotten to add -liconv to the link line. Adding that there should resolve those problems.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow