
Hello, I am trying to build the "6 degrees of kevin bacon" example of the BGL in MSVC 6. When I do I get an "internal compile error". Does anyone know a fix/work-around? The compilation gets to this line (about #73): typedef adjacency_list < vecS, vecS, undirectedS, property<vertex_name_t,std::string >, property < edge_name_t,std::string > > Graph; Graph g; If Graph g is declared I get the following ugly error: d:\program files\microsoft visual studio\vc98\include\xmemory(59) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Note that if I change the std::string in vertex_name property to an int the compilation proceeds. Thanks for any help Andy Schweitzer

a_schweitzer wrote:
Hello, I am trying to build the "6 degrees of kevin bacon" example of the BGL in MSVC 6. When I do I get an "internal compile error".
Does anyone know a fix/work-around?
The compilation gets to this line (about #73):
typedef adjacency_list < vecS, vecS, undirectedS, property<vertex_name_t,std::string >, property < edge_name_t,std::string > > Graph; Graph g;
If Graph g is declared I get the following ugly error: d:\program files\microsoft visual studio\vc98\include\xmemory(59) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
Note that if I change the std::string in vertex_name property to an int the compilation proceeds.
Thanks for any help
Andy Schweitzer
I hear you. I'm sick of seeing that error message. I think Microsoft should publish another service pack to fix VC++ 6, but of course that would hurt sales of ".NET". I've found that often the compiler will work if you "rebuild all" rather than just "build". I don't know if it will work in this particular case. Jive

a_schweitzer wrote:
Hello, I am trying to build the "6 degrees of kevin bacon"
example of
the BGL in MSVC 6. When I do I get an "internal compile error".
Does anyone know a fix/work-around?
The compilation gets to this line (about #73):
typedef adjacency_list < vecS, vecS, undirectedS, property<vertex_name_t,std::string >, property < edge_name_t,std::string > > Graph; Graph g;
If Graph g is declared I get the following ugly error: d:\program files\microsoft visual studio\vc98\include\xmemory (59) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
Note that if I change the std::string in vertex_name property to an int the compilation proceeds.
Thanks for any help
Andy Schweitzer
I hear you. I'm sick of seeing that error message. I think Microsoft should publish another service pack to fix VC++ 6, but of course
Thanks. I also discovered that, but unfortuneatly for this case it didn't help, even though I did it compulsively several times. --- In Boost-Users@y..., Jive Dadson <jdadson@i...> wrote: that
would hurt sales of ".NET".
I've found that often the compiler will work if you "rebuild all" rather than just "build". I don't know if it will work in this particular case.
Jive

----- Original Message ----- From: a_schweitzer <a_schweitzer@yahoo.com> To: <Boost-Users@yahoogroups.com> Sent: Thursday, 23 May, 2002 5:52 PM Subject: [Boost-Users] BGL, 6 degrees of Kevin Bacon and MSVC 6 compile error
Hello, I am trying to build the "6 degrees of kevin bacon" example of the BGL in MSVC 6. When I do I get an "internal compile error".
Does anyone know a fix/work-around?
[snip] It compiles under MSVC6 (sp3) using Z7 instead of ZI. Also, turning of precompiled headers seems to save having to do a rebuild all. Louis. PS. I had to edit kevin_bacon.dat, as the semi-colons had turned int to |s (what's the name for | ?).
participants (3)
-
a_schweitzer
-
Jive Dadson
-
Louis Lavery