Boost logo

Boost Users :

Subject: [Boost-users] [Parallel BGL] Error during building library
From: Nikos Kyrtatas (nikos.kyrtatas_at_[hidden])
Date: 2013-04-03 18:34:48


In order to build Parallel BGL 0.7.0 beta, I first used cmake:

~/project/lib> cmake parallel-bgl-0.7.0/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nkyrtata/project/lib

and then make:

~/project/lib> make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nkyrtata/project/lib
Scanning dependencies of target boost_graph_mpi
[ 2%] Building CXX object
libs/graph_parallel/src/CMakeFiles/boost_graph_mpi.dir/mpi_process_group.cpp.o
[ 5%] Building CXX object
libs/graph_parallel/src/CMakeFiles/boost_graph_mpi.dir/tag_allocator.cpp.o
Linking CXX static library ../../../lib/libboost_graph_mpi.a
[ 5%] Built target boost_graph_mpi
Scanning dependencies of target adjlist_build_test
[ 8%] Building CXX object
libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/adjlist_build_test.cpp.o
In file included from
/home/nkyrtata/project/lib/parallel-bgl-0.7.0/boost/graph/distributed/adjacency_list.hpp:3961:0,
                 from
/home/nkyrtata/project/lib/parallel-bgl-0.7.0/libs/graph_parallel/test/adjlist_build_test.cpp:10:
/home/nkyrtata/project/lib/parallel-bgl-0.7.0/boost/graph/distributed/adjlist/serialization.hpp:
In function ‘std::vector<int>
boost::detail::parallel::available_process_files(const string&)’:
/home/nkyrtata/project/lib/parallel-bgl-0.7.0/boost/graph/distributed/adjlist/serialization.hpp:97:61:
error: conversion from ‘boost::filesystem3::path’ to non-scalar type
‘std::string {aka std::basic_string<char>}’ requested
make[2]: ***
[libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/adjlist_build_test.cpp.o]
Error 1
make[1]: ***
[libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/all] Error 2
make: *** [all] Error 2

I am using Ubuntu 11.10, gcc 4.6.1 and boost 1.52. Any help would be
greatly appreciated.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net