[Kmymoney-devel] Problem building KMM using clang on Mac OS X
mk-lists at email.de
mk-lists at email.de
Mon Jan 27 16:13:53 UTC 2014
I was trying to build the latest git version of KMM on OSX and experienced a problem.
KDE is the current version:
---
$ port installed kdelibs4
The following ports are currently installed:
kdelibs4 @4.11.5_0+docs (active)
—
KMessageBox::information() seems to be unknown:
---
:info:build /usr/bin/clang++ -pipe -Os -arch x86_64 -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility==
hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fPIC -fno-common -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -Wl,-search_paths_first --
Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/parsedatatest.dir/parsedatatest_automoc.cpp.o CMakeFiles/parsedatatest.dir/parsedatatest.cpp.o CMakeFiles/parsedatatest.dir/csvutil.cpp.o
-o parsedatatest.app/Contents/MacOS/parsedatatest /opt/local/lib/libQtTest.dylib /opt/local/lib/libkdecore.5.11.5.dylib /opt/local/lib/libgmp.dylib /opt/local/lib/libalkimia.dylib ../../../lib/libkmm_mymoney.4.11.5.dylib /opt/loo
cal/lib/libkdecore.5.11.5.dylib /opt/local/lib/libQtDBus.dylib /opt/local/lib/libQtCore.dylib -framework Carbon
:info:build Undefined symbols for architecture x86_64:
:info:build "KMessageBox::information(QWidget*, QString const&, QString const&, QString const&, QFlags<KMessageBox::Option>)", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build "KMessageBox::questionYesNoCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>)", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build "KStandardGuiItem::no()", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build "KStandardGuiItem::yes()", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build "KStandardGuiItem::cancel()", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build "KGuiItem::~KGuiItem()", referenced from:
:info:build CsvUtil::createAccount(MyMoneyAccount&, MyMoneyAccount&, MyMoneyAccount&, MyMoneyMoney) in csvutil.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
—
Any idea?
More information about the KMyMoney-devel
mailing list