communi / libcommuni

A cross-platform IRC framework for Qt
https://communi.github.io
BSD 3-Clause "New" or "Revised" License
83 stars 37 forks source link

Examples and Tests don't compile with ICU #60

Closed ConiKost closed 5 years ago

ConiKost commented 6 years ago

Examples and Tests don't compile with ICU. When I do use Uchardet, it works.

compiling debug/moc_ircbot.cpp
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/minimal/../../lib/libIrcCore.a(ircmessagedecoder_icu.o): undefined reference to symbol 'ucsdet_setText'
/usr/lib64/libicui18n.so.60: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [Makefile:68: minimal] Fehler 1
make[2]: Verzeichnis „/var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/minimal“ wird verlassen
make[1]: *** [Makefile:99: sub-minimal-make_first] Fehler 2
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
compiling debug/moc_ircclient.cpp
linking bot
linking client
make[2]: Verzeichnis „/var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/qmlbot“ wird verlassen
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/bot/../../lib/libIrcCore.a(ircmessagedecoder_icu.o): undefined reference to symbol 'ucsdet_setText'
/usr/lib64/libicui18n.so.60: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [Makefile:72: bot] Fehler 1
make[2]: Verzeichnis „/var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/bot“ wird verlassen
make[1]: *** [Makefile:49: sub-bot-make_first] Fehler 2
make[2]: Verzeichnis „/var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/quick“ wird verlassen
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-im/libcommuni-3.5.0/work/libcommuni-3.5.0/examples/client/../../lib/libIrcCore.a(ircmessagedecoder_icu.o): undefined reference to symbol 'ucsdet_setText'
/usr/lib64/libicui18n.so.60: error adding symbols: DSO missing from command line
ConiKost commented 5 years ago

Seems to be fixed with current git, closing.