library not foud to link my project with kdepimlibs and akonadi

Michael Parchet mparchet at sunrise.ch
Sat Feb 2 10:17:06 PST 2013


Hello,

I work on mac os 10.8.2

I try to use the kdepimlibs and akonadi package in a qt project which compile with cmake.

After reading of  the following documentation ( http://techbase.kde.org/Development/Tutorials/Akonadi/Application) and several google search, I still have the bellow issue.


when I try to compile I get this link error.

Linking CXX executable release/myprojectname
ld: library not found for -lKDE4__kdeui


Here an extract of my cMakeList.txt file project.

include_directories (
${KDEPIMLIBS_INCLUDE_DIRS} ${AKONADI_INCLUDE_DIR}  ${KDE4_INCLUDES}
)
link_directories( ${KDE4_LIB_DIR} ${KDEPIMLIBS_LIB_DIR} ) 


TARGET_LINK_LIBRARIES(
${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}
${KDEPIMLIBS_AKONADI_LIBS}
 ${KDEPIMLIBS_KABC_LIBS}
${KDE4_KDEUI_LIBS}
)


Could you help me please ?

Best regards

mparchet


More information about the macports-dev mailing list