Hi all,

 

I am trying for a couple of days to compile Boost with the Visual Studio 2008 compiler for Windows CE 6.0

I want to use the Boost.Thread Library in Windows CE 6.0.

 

I have understand that I first need to compile STLport. Can I use STLport out of the box or do I need a separate C library for windows CE ??

 

I have run the configure tool like this:

 

C:\build\STLport-5.2.1>call configure evc9 -x --with-static-rtl --use-boost C:\boost\boost_1_41_0

 

          cl.exe /nologo /TP /WX /GF /GR /EHsc  /GL /MT /Zi /O2  /FC /D_STLP_USE_DYNAMIC_LIB /D_STLP_USE_DYNAMIC_LIB  /D _WIN32_WCE=0x600 /D UNDER_CE=1 /D "UNICODE" /D "ARM" /D "_ARM_" /D "ARMV4I" /DNDEBUG  /I "../../stlport" /I"C:\boost\boost_1_41_0"  /c /Foobj\evc9-arm\shared\dll_main.o /Fd"obj\evc9-arm\shared\stlport_x.5.2.pdb" ../../src\dll_main.cpp

dll_main.cpp

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(38) : error C2039: 'clock' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(38) : error C2873: 'clock' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(39) : error C2039: 'asctime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(39) : error C2873: 'asctime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(40) : error C2039: 'ctime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(40) : error C2873: 'ctime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(41) : error C2039: 'gmtime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(41) : error C2873: 'gmtime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(46) : error C2039: 'mktime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(46) : error C2873: 'mktime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(47) : error C2039: 'localtime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(47) : error C2873: 'localtime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(48) : error C2039: 'strftime' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(48) : error C2873: 'strftime' : symbol cannot be used in a using-declaration

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(49) : error C2039: 'time' : is not a member of '`global namespace''

c:\build\stlport-5.2.1\stlport\stl\_ctime.h(49) : error C2873: 'time' : symbol cannot be used in a using-declaration

 

 

Does anyone know why I get this error and how to solve this?

 

Thanks in advance!


______________________________________________________________________
Priva B.V.

A disclaimer is applicable to this email, please refer to www.priva.nl/disclaimer.

Op deze email is een disclaimer van toepassing, ga naar www.priva.nl/disclaimer.