Jump to content

Compilling GoldenDict: iconv issue


1 post in this topic

Recommended Posts

Hi folks!

I'm trying to build Goldendict - poerful dictionary programm for linux and windows, which also runs on Mac OS. I've installed Xcode, Qt and built libvorbis, libogg and hunspell. I've also edited the source to get rid of some linux-x11 specific code. But at the end of compillation I have this error:

 

Undefined symbols:
"_iconv_open", referenced from:
Babylon::convertToUtf8(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)in bgl_babylon.o
Iconv::reinit(char const*, char const*)in iconv.o
Iconv::Iconv(char const*, char const*)in iconv.o
Iconv::Iconv(char const*, char const*)in iconv.o
"KeyboardState::checkModifiersPressed(int)", referenced from:
ScanPopup::altModePoll() in scanpopup.o
ScanPopup::handleInputWord(QString const&) in scanpopup.o
"_iconv_close", referenced from:
Babylon::convertToUtf8(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)in bgl_babylon.o
Iconv::~Iconv()in iconv.o
Iconv::~Iconv()in iconv.o
Iconv::reinit(char const*, char const*)in iconv.o
"_iconv", referenced from:
Babylon::convertToUtf8(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)in bgl_babylon.o
Babylon::convertToUtf8(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int)in bgl_babylon.o
Iconv::convert(void const*&, unsigned long&, void*&, unsigned long&)in iconv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [goldendict.app/Contents/MacOS/goldendict] Error 1
make: Leaving directory `/Users/gromescu/Desktop/goldendict-0.9.0-src'
Exited with code 2.
Error while building project goldendict
When executing build step 'Make'

 

Iconv is builtin , the header file is present. I tried to build newer version of iconv but no luck.

Unfortunately, app's developer does not have a Mac Ñ‹so can not help with os specific issues.

 

Here are the sources ready to build on Mac.

 

PS. I'm running iDeneb 10.5.5

Link to comment
Share on other sites

 Share

×
×
  • Create New...