Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost: Getting Started on Windows
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-09-26 18:38:52


On Sun, Sep 26, 2010 at 11:43 AM, Olivier Bertrand <bertrandop_at_[hidden]> wrote:
>  Using this tutorial I tried to build the first sample with Windows Visual
> C++ 6.0.
>
> All seems correct in the settings, but the compilation failed with the
> following messages:
>
> --------------------Configuration: Sample - Win32 Debug--------------------
> Compiling...
> Lambda.cpp
> c:\boost_1_44\boost\config\suffix.hpp(588) : error C2039: 'typeinfo' : is
> not a member of '`global namespace''
> c:\boost_1_44\boost\config\suffix.hpp(588) : error C2873: 'typeinfo' :
> symbol cannot be used in a using-declaration
> c:\boost_1_44\boost\mpl\aux_\yes_no.hpp(56) : fatal error C1506:
> unrecoverable block scoping error
> Error executing cl.exe.
>
> Sample.exe - 3 error(s), 0 warning(s)
>
> The second sample gave me similar errors.
>
> I need help to be able to use the Boost libs...

visual C++ 6.0 is inching toward 13 years old, there is not much
nowadays that supports it, and I know many Boost sublibraries do not
(although some still do), however, MPL I doubt is one that does due to
its heavy template usage and VS6's lack of proper template support
(although it 'might', anyone want to chime in?). You might try going
back to an older Boost version, maybe 1.33 or so, when VC6 was still
somewhat used.

Personally, I would highly recommend at least downloading the free
Visual Studio 2010 (or 2008) Express version to get upgraded to
something more modern.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net