|
Boost : |
Subject: Re: [boost] [Boost.Log] compilation on msvc 2010 fail.
From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2011-05-02 15:54:35
Hi Andrey,
Am 02.05.2011 09:01, schrieb Andrey Semashev:
> On 05/02/2011 12:39 AM, Kim Kuen Tang wrote:
>>
>> Hi all,
>>
>> i try to compile Boost.Log for msvc 2010. But it somehow fails.
>> Please see the errors below.
>
> You seem to be trying to compile Boost.Log v1 against Boost.Filesystem
> v3. This won't work. Please use Boost.Log v2 (from SVN trunk).
i did what you said and try to compile boost log from the trunk. But i
still get errors. Please see below:
compile-c-c++
bin.v2\libs\log\build\msvc-10.0\debug\link-static\runtime-link-sta
tic\light_rw_mutex.obj
light_rw_mutex.cpp
libs\log\src\light_rw_mutex.cpp(153) : error C2653: 'light_rw_mutex' :
is not a
class or namespace name
libs\log\src\light_rw_mutex.cpp(154) : error C4430: missing type
specifier - int
assumed. Note: C++ does not support default-int
libs\log\src\light_rw_mutex.cpp(159) : error C2065: 'm_Mutex' :
undeclared ident
ifier
libs\log\src\light_rw_mutex.cpp(160) : warning C4508:
'boost::log2_st::aux::ligh
t_rw_mutex' : function should return a value; 'void' return type assumed
libs\log\src\light_rw_mutex.cpp(162) : error C2653: 'light_rw_mutex' :
is not a
class or namespace name
libs\log\src\light_rw_mutex.cpp(162) : fatal error C1903: unable to
recover from
previous error(s); stopping compilation
call "C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat"
x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\log\build\msvc-10.0\debug\link-static\runtime-li
nk-static\light_rw_mutex.obj.rsp"
....failed compile-c-c++
bin.v2\libs\log\build\msvc-10.0\debug\link-static\runtim
e-link-static\light_rw_mutex.obj...
Any suggestion?
>
>> Is the msvc-10.0 compiler supported?
>
> MSVC 10 should be fine, the problem is not with the compiler.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk