[Digikam-devel] Re: Boost graph in CMake

Johannes Wienke languitar at semipol.de
Fri Nov 12 09:15:17 CET 2010

Am 12.11.2010 07:18 schrieb Gert Kello:
> I'm having trouble with CMake boost find: It complains that it can't
> find boost. Last time I just removed the "COMPONENTS graph" from
> I did made a fresh checkout and now I decided to look at bit deeper.
> Using Boost_DEBUG true it seems like cmake is probing for dll files
> with patterns like boost_graph*
> And, the FindBoost.cmake states that
> # The components list needs to contain actual names of boost libraries only,
> # such as "date_time" for "libboost_date_time".  If you're using parts of
> # Boost that contain header files only (e.g. foreach) you do not need to
> # specify COMPONENTS.
> #
> Sounds like the "COMPONENST graph" must be removed. How is it working
> at all? Or is it only windows problem?

I've added this as boost graph is a real library on linux:

languitar at herbie:~$ ls -l /usr/lib/libboost_graph*
-rw-r--r-- 1 root root 629114 2010-05-08 02:53 /usr/lib/libboost_graph.a
lrwxrwxrwx 1 root root     16 2010-11-08 21:13 
/usr/lib/libboost_graph-mt.a -> libboost_graph.a
lrwxrwxrwx 1 root root     24 2010-11-08 21:13 
/usr/lib/libboost_graph-mt.so -> libboost_graph.so.1.42.0
lrwxrwxrwx 1 root root     24 2010-11-08 21:13 
/usr/lib/libboost_graph.so -> libboost_graph.so.1.42.0
-rw-r--r-- 1 root root 303600 2010-05-08 02:53 

Normally it should also be one on windows? Is there really no 
boost_graph.dll or something like this? Is boost graph really built by 
your installation?


More information about the Digikam-devel mailing list