Ticket #151 (closed bug report: invalid)

Opened 21 months ago

Last modified 21 months ago

pgrouting compilaltion error

Reported by: vivek.rai Owned by: somebody
Priority: major Milestone: Version 1.1
Component: A* Version: 1.03
Keywords: pgrouting Cc:

Description

make: pg_config: Command not found Makefile:55: no file name for `include' g++ -O2 -g -fpic -I/usr/local/boost/include/boost/graph -c boost_wrapper.cpp In file included from boost_wrapper.cpp:30: dijkstra.h:25:22: postgres.h: No such file or directory In file included from boost_wrapper.cpp:30: dijkstra.h:32: error: `float8' does not name a type dijkstra.h:33: error: `float8' does not name a type dijkstra.h:40: error: `float8' does not name a type boost_wrapper.cpp:56: error: `float8' does not name a type boost_wrapper.cpp: In function `int boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)': boost_wrapper.cpp:85: error: 'struct Vertex' has no member named 'cost' boost_wrapper.cpp:85: error: 'struct edge' has no member named 'cost' boost_wrapper.cpp:95: error: 'struct Vertex' has no member named 'cost' boost_wrapper.cpp:95: error: 'struct edge' has no member named 'reverse_cost' boost_wrapper.cpp:99: error: 'struct Vertex' has no member named 'cost' boost_wrapper.cpp:99: error: 'struct edge' has no member named 'cost' boost_wrapper.cpp:121: error: `float8' was not declared in this scope boost_wrapper.cpp:121: error: template argument 1 is invalid boost_wrapper.cpp:121: error: template argument 2 is invalid boost_wrapper.cpp:121: error: invalid type in declaration before '(' token boost_wrapper.cpp:124: error: cost' is not a member of Vertex' boost_wrapper.cpp:125: error: invalid types `int[int]' for array subscript boost_wrapper.cpp:160: error: 'struct path_element' has no member named 'cost' boost_wrapper.cpp:160: error: invalid types `int[boost_dijkstra::vertex_descriptor]' for array subscript boost_wrapper.cpp:181: error: 'struct path_element' has no member named 'cost' boost_wrapper.cpp:181: error: 'struct Vertex' has no member named 'cost' make: *** [boost_wrapper.o] Error 1

Attachments

pgrouting.txt Download (3.0 KB) - added by vivek.rai 21 months ago.
pgrouting compile error

Change History

Changed 21 months ago by vivek.rai

pgrouting compile error

Changed 21 months ago by anton

  • status changed from new to closed
  • resolution set to invalid

You need to install postgres-dev package.

Note: See TracTickets for help on using tickets.