|
Hi.
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 FIND_PACKAGE. 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? Gert _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
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 > FIND_PACKAGE. > > 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@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 /usr/lib/libboost_graph.so.1.42.0 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? Johannes _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
>>
>> 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@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 > /usr/lib/libboost_graph.so.1.42.0 > > 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? No boost_graph dll... Not sure if it is built or not, or if it needs/supports building on windows. Didn't build boost manually but with emerge. But the graph headers are definitely present in boost include directory. Gert _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Am 12.11.2010 09:20 schrieb Gert Kello:
>>> >>> 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@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 >> /usr/lib/libboost_graph.so.1.42.0 >> >> 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? > > No boost_graph dll... Not sure if it is built or not, or if it > needs/supports building on windows. Didn't build boost manually but > with emerge. > > But the graph headers are definitely present in boost include directory. Ok, I checked the boost documentation. The library file is optional and only required to parse graphviz files. So the component request can be removed from the cmake script. Sorry, Johannes _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
