Help using Boost Graph Library with C++Builder 6
Hi,
Has anyone successfully used to Boost Graph Library (BGL) with
C++Builder 6? I'm getting compilation errors.
Here's what I've done:
I downloaded the latest Boost (1.30.0) from boost.org and installed
it. I then tried to compile the quick-tour.cpp file using the mingw
compiler - no problem.
I then tried to compile using the C++Builder IDE and I get the
following compile errors:
[C++ Error] tuple_basic.hpp(158): E2238 Multiple declaration
for 'element
Yes, I have the same problem with Boost1.30.0/Borland C++ Builder 5.
To be more precise, when I try to compile the following:
//----------------------------------------------
#include
Elmar Bihler wrote:
Yes, I have the same problem with Boost1.30.0/Borland C++ Builder 5. To be more precise, when I try to compile the following:
I can't help with BCB5, but FYI, your example compiles fine in BCB6. Russell
--- In Boost-Users@yahoogroups.com, Russell Hind
Elmar Bihler wrote:
Yes, I have the same problem with Boost1.30.0/Borland C++ Builder
5.
To be more precise, when I try to compile the following:
I can't help with BCB5, but FYI, your example compiles fine in BCB6.
Russell
I had this same compilation problem - even with BCB6 - until I installed BCB6 Update #4. This same problem rears its ugly head when trying to use the Boost Graph Library (which must depend on the tuple library). -Craig
--- In Boost-Users@yahoogroups.com, "asterixthegaul2003"
I then tried to compile using the C++Builder IDE and I get the following compile errors:
[C++ Error] tuple_basic.hpp(158): E2238 Multiple declaration for 'element
' [C++ Error] tuple_basic.hpp(143): E2344 Earlier declaration of 'element '
FYI... I solved my own problem. It appears that BCB6 wasn't having trouble with the BGL, but rather the tuple library. Installing BCB6 Update #4 seems to have fixed the problem. Craig
participants (3)
-
asterixthegaul2003
-
Elmar Bihler
-
Russell Hind