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
, 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