Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to fix error when building boost - MSVC ?

Help
AharonTam
2007-03-25
2013-05-14
  • AharonTam
    AharonTam
    2007-03-25

    While trying to build boost with Microsoft Visuall Studio VC++ 6.0,

    I get the following compilation error;

    Compiling...
    instantiate_cpp_exprgrammar.cpp
    c:\program files\boost_1_33_1\boost\spirit\iterator\multi_pass.hpp(763) : 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
    Command line warning D4028 : minimal rebuild failure, reverting to normal build
    Error executing cl.exe.

    The line # 763 in c:\program files\boost_1_33_1\boost\spirit\iterator\multi_pass.hpp(763):

    ==>   typedef typename InputPolicyT::BOOST_NESTED_TEMPLATE inner<InputT> input_t;

    Any idea how to fix this?

    Thanks,
    Aharon

     
    • Vladimir
      Vladimir
      2007-10-08

      I've had such a problem too.
      If you're using VS2003 without Service Packs then the trouble is in the VS - it need Microsoft Visual Studio .NET 2003 Service Pack 1 (KB918007) to fix the problem.