Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost for Windows CE
From: djeauh (joseph.giuliana_at_[hidden])
Date: 2009-03-27 06:42:01


Hello everybody,

            Sorry for my ignorance, but I still have a problem running bjam
to compile boost for windows ce.

I have:

        --> made my own batch in order to setup environment variables
        --> compiled stl port version 5.2.1 for arm successfully

I'm running bjam using the following command line:

bjam --with-regex --build-dir=.\WCE
msvc-WCE/variant=debug,release/threading=multi/link=shared,static/runtime-link=static

I also added this section in my user-config.jam file:

#-------------------------------------------
# Special configuration for cross compiling
# to armv4...
#-------------------------------------------
using msvc : WCE :

    "cl.exe" :
    <compileflags>-D_CRT_SECURE_NO_WARNINGS
    <compileflags>-D_WIN32_WCE=0x501
    <compileflags>-DUNDER_CE=0x501
    <compileflags>-DWIN32_WCE_PSPC
    <compileflags>-DWINCE
    <compileflags>-DARM
    <compileflags>-D_ARM_
    <compileflags>-DARMV4I
    <compileflags>-D_LITTLE_ENDIAN
    <compileflags>-DUNICODE
    <compileflags>-D_UNICODE
    <compileflags>-DPOCKETPC2003_UI_MODEL
    <compileflags>-DBOOST_NO_STD_LOCALE
    <compileflags>-D_MSC_VER=1500
    <linkflags>/subsystem:windowsce,5.01
    <linkflags>/machine:arm
    <linkflags>/NODEFAULTLIB:oldnames.lib
    <linkflags>/STACK:262144,4096
    <linkflags>coredll.lib
    <linkflags>corelibc.lib
    <linkflags>ole32.lib
    <linkflags>oleaut32.lib
    <linkflags>uuid.lib
    <linkflags>commctrl.lib
    <architecture>arm
    <instruction-set>armv4
    <interface>wince
    <assembler>"armasm.exe"
;

using stlport : WCE :
        C:\STLport-5.2.1\stlport
        C:\STLport-5.2.1\lib\evc9-arm
        C:\STLport-5.2.1\bin\evc9-arm
;

When I launch compilation, I get the following error:

libs\regex\src\..\src\wc_regex_traits.cpp(93) : error C2039: 'wcsxfrm' : is
not a member of 'std'
libs\regex\src\..\src\wc_regex_traits.cpp(93) : error C3861: 'wcsxfrm':
identifier not found
libs\regex\src\..\src\wc_regex_traits.cpp(93) : fatal error C1903: unable to
recover from previous error(s); stopping compilation

Could you help me please?

Thanks in advance

-- 
View this message in context: http://www.nabble.com/Building-Boost-for-Windows-CE-tp22541930p22739244.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk