|
Boost Users : |
Subject: [Boost-users] [Boost 1.44][BGL] Compiling error with MinGW
From: Florian.PONROY_at_[hidden]
Date: 2010-11-09 04:22:35
Hi folks,
My C++ Windows/Linux project used to compile properly using the following
items:
* Boost 1.33.1, using BGL, Serialization, Thread ;
* GNU g++ 4.1.2 under Linux ;
* MinGW 3.4.5 under Linux (cross-compiling).
I recently updated my Boost distribution to version 1.44. Unfortunately, I
now have the following BGL/linking error compiling with MinGW :
/path/to/liblocd_topology_manager.a(locTopology.o):locTopology.cpp:(.rdata$_
ZZN5boost3putINS_26vec_adj_list_vertex_id_mapINS_8propertyINS_13vertex_root_
tEiNS_11no_propertyEEEjEEEEvRKNS_17two_bit_color_mapIT_EENS_15property_trait
sIS8_E8key_typeENS_18two_bit_color_typeEE17elements_per_char+0x0): multiple
definition of `_elements_per_char'
/path/to/liblocd_topology_manager.a(locTopology.o):locTopology.cpp:(.rdata$_
ZZN5boost3putINS_26vec_adj_list_vertex_id_mapINS_8propertyINS_13vertex_root_
tEiNS_11no_propertyEEEjEEEEvRKNS_17two_bit_color_mapIT_EENS_15property_trait
sIS8_E8key_typeENS_18two_bit_color_typeEE17elements_per_char+0x0): first
defined here
I've checked the
//www.boost.org/doc/libs/1_44_0/libs/graph/doc/trouble_shooting.html
webpage, but I haven't seen any answer related to my problem.
For sure, the MinGW compiler version we use is pretty old. Since updating it
would be very cumbersome in our case, I would like to be sure it's actually
a compiler issue.
Thanks in advance for your advice.
Best regards,
-- Florian PONROY Thales Land & Joint France Tel. : +33(0)1 41 304 363 Fax : +33(0)1 41 303 907 Email : florian.ponroy_at_[hidden]
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