trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] kdepim (caldav installed): fatal error: caldav.h: No such file or directory

From: Serghei Amelian <serghei@...>
Date: Sat, 7 May 2011 13:47:04 +0300
On Saturday 07 May 2011 06:33:06 David C. Rankin wrote:
> Guys,
>
>    This is probably a stupid "forest for the trees issue", but I can't get
> my kdepim build to find 'caldav.h'!
>
>    I have caldav from quickbuilds installed:
>
> 22:21 trinity:~/tblds/trinity-kdepim> locate caldav.h
> /usr/include/libcaldav-0.6.2/caldav.h
>
>    However, for some reason, the kdepim build isn't seeing it. I am
> building with:
>
>    export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
>    export CMAKE_INCLUDE_PATH=/usr/include/libcaldav-0.6.2

This is not intented to use for changing compiler flags:
"CMAKE_INCLUDE_PATH: Path used for searching by FIND_FILE() and FIND_PATH()."

[...]

> -I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim
> -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
> -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libcaldav   -o

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You pointing /usr/include/libcaldav, instead /usr/include/libcaldav-0.6.2.

Show me output of "pkg-config libcaldav --variable=pkgincludedir".

[...]


-- 
Serghei