I'm trying to compile Boost 1.36.0 with Microsoft Visual Studio 9.0 for
Windows Mobile 5. Unfortunately, I'm getting a compile error on the system
library (below).
Can anybody suggest what I may be doing wrong?
The command line I'm using to compile boost is:
C:\boost\boost_1_36_0>bjam --without-python --without-mpi
msvc-WM5/variant=debug,release/threading=multi/*stdlib*=stlport/link=shared,static/runtime-link=static
stage
The output from the -d2 flag, as it relates to the System library is:
file
bin.v2\libs\system\build\msvc-WM5\debug\link-static\runtime-link-static\*
stdlib*-stlport\threading-multi\error_code.obj.rsp
"libs\system\src\error_code.cpp"
-Fo"bin.v2\libs\system\build\msvc-WM5\debug\link-static\runtime-link-static\
*stdlib*-stlport\threading-multi\error_code.obj"
-TP
/Z7
/Od
/Ob0
/W3
/GR
/MTd
/Zc:forScope
/Zc:wchar_t
/wd4675
/EHs
-D_CRT_SECURE_NO_WARNINGS
-D_WIN32_WCE=0x501
-DUNDER_CE=0x501
-DWIN32_WCE_PSPC
-D_MSC_VER=1500
-DWINCE
-DARM
-D_ARM_
-DARMV4I
-D_LITTLE_ENDIAN
-DUNICODE
-D_UNICODE
-DPOCKETPC2003_UI_MODEL
-c
-DBOOST_ALL_NO_LIB=1
-DBOOST_SYSTEM_STATIC_LINK=1
-D_STLP_DEBUG=1
-D_STLP_DEBUG_UNINITIALIZED=1
"-I."
"-IC:STLPortSTLport-5.1.5stlport"
compile-c-c++
bin.v2\libs\system\build\msvc-WM5\debug\link-static\runtime-link-static\*
stdlib*-stlport\threading-multi\error_code.obj
cl /Zm800 -nologo
@"bin.v2\libs\system\build\msvc-WM5\debug\link-static\runtime-link-static\*
stdlib*-stlport\threading-multi\error_code.obj.rsp"
error_code.cpp
Unknown EVC++ compiler version - please run the configure tests and report
the results
libs\system\src\error_code.cpp(83) : error C2039: '*strerror*' : is not a
member of '*stlpd_std*'
libs\system\src\error_code.cpp(83) : error C3861: '*strerror*': identifier
not found
...failed compile-c-c++
bin.v2\libs\system\build\msvc-WM5\debug\link-static\runtime-link-static\*
stdlib*-stlport\threading-multi\error_code.obj...
...skipped