Anil,

Visual Studio 6 does not have, unfortunately, an officially supported C++ compiler for Boost. I believe the earliest supported version of Visual Studio is 7.1.

Check out this thread:

http://lists.boost.org/Archives/boost/2006/01/99890.php

Though many of the libraries will likely work fine with VS 6, I really doubt that Lambda would.

VS 2005 especially is a great improvement over older versions of Visual Studio for C++ - and I'd recommend using it or another compiler (GCC etc.) if possible, if you want to get the most out of Boost.

Jeremy Pack

On Wed, Jul 23, 2008 at 1:31 AM, anil kumar <anil26_prodigy@hotmail.com> wrote:
Hi All,


Please help me out I am new to boost C++. I tried out this code

#include "boost\lambda\lambda.hpp"
#include <iostream>
#include <iterator>
#include <algorithm>

int main()
{
    using namespace boost::lambda;
    typedef std::istream_iterator<int> in;

    std::for_each(
        in(std::cin), in(), std::cout << (boost::lambda::_1 * 3) << " "
        );
}

I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says
c:\program files\boost\boost_1_35_0\boost\lambda\detail\lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1794)
         Please choose the Technical Support command on the Visual C++


How to solve this i hope some one will help why this internal error occurs and what i need to do?.

Anil



Take the quiz. Crack your personality type. Get individualized suggestions for email ids that suit your personality.Log on to www.coolhotmail.com/personality.html Try it now!

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users