Skip to content

Add iconv to EXTRA_LIBS in CMakeLists.#168

Merged
cfsmp3 merged 1 commit intoCCExtractor:masterfrom
codeman38:missing-iconv
May 27, 2015
Merged

Add iconv to EXTRA_LIBS in CMakeLists.#168
cfsmp3 merged 1 commit intoCCExtractor:masterfrom
codeman38:missing-iconv

Conversation

@codeman38
Copy link
Copy Markdown
Contributor

Compilation via cmake fails on OS X if libiconv is not specified as a required library:

Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _EPG_DVB_decode_string in libccx.a(ts_tables_epg.c.o)
  "_iconv_close", referenced from:
      _EPG_DVB_decode_string in libccx.a(ts_tables_epg.c.o)
  "_iconv_open", referenced from:
      _EPG_DVB_decode_string in libccx.a(ts_tables_epg.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Adding it to EXTRA_LIBS in CMakeLists.txt is enough to make compilation successful.

Compilation via cmake fails on OS X if libiconv is not
specified as a required library.
@cfsmp3 cfsmp3 merged commit 80303dd into CCExtractor:master May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants