gromescu до выхода первой версии собирать ничего не будет и пока никто не интересуется тут кроме меня, видимо никак :\
Спасибо ikm
Undefined symbols:
"Hunspell::Hunspell(char const*, char const*, char const*)", referenced from:
HunspellMorpho::makeDictionaries(Config::Hunspell const&) in hunspell.o
"_ov_info", referenced from:
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
"_ov_read", referenced from:
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
"Hunspell::analyze(char***, char const*)", referenced from:
HunspellMorpho::(anonymous namespace)::HunspellHeadwordsRequest::suggest(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)in hunspell.o
"QX11Info::display()", referenced from:
KeyboardState::checkModifiersPressed(int) in keyboardstate.o
"Hunspell::suggest(char***, char const*)", referenced from:
HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run()in hunspell.o
"_ov_open_callbacks", referenced from:
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
"Hunspell::spell(char const*, int*, char**)", referenced from:
HunspellMorpho::(anonymous namespace)::HunspellPrefixMatchRequestRunnable::run()in hunspell.o
HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run()in hunspell.o
"_ov_pcm_seek", referenced from:
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
"Hunspell::~Hunspell()", referenced from:
HunspellMorpho::(anonymous namespace)::HunspellDictionary::~HunspellDictionary()in hunspell.o
HunspellMorpho::(anonymous namespace)::HunspellDictionary::~HunspellDictionary()in hunspell.o
"Hunspell::free_list(char***, int)", referenced from:
HunspellMorpho::(anonymous namespace)::HunspellHeadwordsRequest::suggest(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)in hunspell.o
HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run()in hunspell.o
HunspellMorpho::(anonymous namespace)::HunspellArticleRequestRunnable::run()in hunspell.o
"Hunspell::get_dic_encoding()", referenced from:
HunspellMorpho::(anonymous namespace)::decodeFromHunspell(Hunspell&, char const*)in hunspell.o
HunspellMorpho::(anonymous namespace)::encodeToHunspell(Hunspell&, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)in hunspell.o
"_ov_clear", referenced from:
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
Lsa::(anonymous namespace)::LsaDictionary::getResource(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in lsa.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [goldendict.app/Contents/MacOS/goldendict] Error 1
LIBS += -L/opt/local/lib/
INCLUDEPATH += /opt/local/include
LIBS += -lhunspell-1.2 \
-lvorbisfile
cka3o4h1k wrote:strannik
А Вы можете сборки выкладывать в эту тему?
Спасибо
mkdir ~/.MacOSX
echo '{LANG = "en_US.UTF-8";}' > ~/.MacOSX/environment.plist
--- main.cc 2011-01-16 16:46:07.000000000 -0500
+++ main.cc 2011-01-16 16:45:38.000000000 -0500
@@ -21,6 +21,13 @@
int main( int argc, char ** argv )
{
+
+ #ifdef Q_OS_MAC
+
+ setenv("LANG", "en_US.UTF-8", 1); // This is required for proper handling
+ // of the UTF-8 encoding in Mac OS X
+ #endif
+
// The following clause fixes a race in the MinGW runtime where throwing
// exceptions for the first time in several threads simultaneously can cause
// an abort(). This code throws first exception in a safe, single-threaded
Users browsing this forum: No registered users and 25 guests