blubberbernd
blubberbernd

Reputation: 3701

c++, MingW, undefined reference to `libiconv'

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.

Upvotes: 3

Views: 3361

Answers (1)

jolo
jolo

Reputation: 771

You must have forgotten to add -liconv to the link line. Adding that there should resolve those problems.

Upvotes: 5

Related Questions