Hi,
I have the following compilation error with MinGW 3.4.5, under Linux :
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_index_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_13
edge_weight_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
buffer_param_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_18
distance_compare_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_18
distance_combine_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
distance_inf_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_15
distance_zero_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_15
graph_visitor_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): multiple
definition of `_s_prop_not_found'
/obj/g++mingwwin32i386_gcc3.4.5-Linux2.6.22.5-jml-051-i686/liblocd_topology_
manager.a(topology.o):topology.cpp:(.data$_ZZN5boost6detail18property_value_
endINS_11no_propertyEE15const_get_valueINS0_24error_property_not_foundENS_14
vertex_color_tEEERKS5_RKS2_PT_T0_E16s_prop_not_found+0x0): first defined
here
The code compiles fine under Linux with g++ though.
I use both the BGL and Dijkstra algorithm. The adjacency lists are defined
this way:
typedef boost::adjacency_list