Advertisement
Guest User

Untitled

a guest
Nov 19th, 2012
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.23 KB | None | 0 0
  1. 13:44:30 **** Incremental Build of configuration Debug for project bgl ****
  2. make all
  3. Building file: ../src/bgl.cpp
  4. Invoking: Cross G++ Compiler
  5. g++4.8 -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"src/bgl.d" -MT"src/bgl.d" -o "src/bgl.o" "../src/bgl.cpp"
  6. ../src/bgl.cpp:21:65: error: type/value mismatch at argument 1 in template parameter list fortemplate<class T> using Invoke = typename T::type
  7.  template<class T> using RemoveRef = Invoke<std::remove_reference>;
  8.                                                                  ^
  9. ../src/bgl.cpp:21:65: error:   expected a type, got ‘remove_reference’
  10. In file included from /usr/include/boost/graph/adjacency_list.hpp:33:0,
  11.                  from ../src/bgl.cpp:6:
  12. /usr/include/boost/graph/graph_traits.hpp: In instantiation of ‘struct boost::graph_traits<int>:
  13. ../src/bgl.cpp:22:93:   required by substitution of ‘template<class G> using OutEdgeIterator = typename boost::graph_traits::out_edge_iterator [with G = int]
  14. ../src/bgl.cpp:26:55:   required from here
  15. /usr/include/boost/graph/graph_traits.hpp:30:52: error:int’ is not a class, struct, or union type
  16.          typedef typename G::vertex_descriptor      vertex_descriptor;
  17.                                                     ^
  18. /usr/include/boost/graph/graph_traits.hpp:31:52: error:int’ is not a class, struct, or union type
  19.          typedef typename G::edge_descriptor        edge_descriptor;
  20.                                                     ^
  21. /usr/include/boost/graph/graph_traits.hpp:32:52: error:int’ is not a class, struct, or union type
  22.          typedef typename G::adjacency_iterator     adjacency_iterator;
  23.                                                     ^
  24. /usr/include/boost/graph/graph_traits.hpp:33:52: error:int’ is not a class, struct, or union type
  25.          typedef typename G::out_edge_iterator      out_edge_iterator;
  26.                                                     ^
  27. /usr/include/boost/graph/graph_traits.hpp:34:52: error:int’ is not a class, struct, or union type
  28.          typedef typename G::in_edge_iterator       in_edge_iterator;
  29.                                                     ^
  30. /usr/include/boost/graph/graph_traits.hpp:35:52: error:int’ is not a class, struct, or union type
  31.          typedef typename G::vertex_iterator        vertex_iterator;
  32.                                                     ^
  33. /usr/include/boost/graph/graph_traits.hpp:36:52: error:int’ is not a class, struct, or union type
  34.          typedef typename G::edge_iterator          edge_iterator;
  35.                                                     ^
  36. /usr/include/boost/graph/graph_traits.hpp:38:52: error:int’ is not a class, struct, or union type
  37.          typedef typename G::directed_category      directed_category;
  38.                                                     ^
  39. /usr/include/boost/graph/graph_traits.hpp:39:52: error:int’ is not a class, struct, or union type
  40.          typedef typename G::edge_parallel_category edge_parallel_category;
  41.                                                     ^
  42. /usr/include/boost/graph/graph_traits.hpp:40:52: error:int’ is not a class, struct, or union type
  43.          typedef typename G::traversal_category     traversal_category;
  44.                                                     ^
  45. /usr/include/boost/graph/graph_traits.hpp:42:52: error:int’ is not a class, struct, or union type
  46.          typedef typename G::vertices_size_type     vertices_size_type;
  47.                                                     ^
  48. /usr/include/boost/graph/graph_traits.hpp:43:52: error:int’ is not a class, struct, or union type
  49.          typedef typename G::edges_size_type        edges_size_type;
  50.                                                     ^
  51. /usr/include/boost/graph/graph_traits.hpp:44:52: error:int’ is not a class, struct, or union type
  52.          typedef typename G::degree_size_type       degree_size_type;
  53.                                                     ^
  54. ../src/bgl.cpp:26:57: error: template argument 1 is invalid
  55.    -> boost::iterator_range<OutEdgeIterator<RemoveRef<G>>>
  56.                                                          ^
  57. make: *** [src/bgl.o] Error 1
  58.  
  59. 13:44:35 Build Finished (took 5s.35ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement