|
Boost Users : |
Subject: [Boost-users] [Test] Compiling libraries for Windows Mobile 6 ARMV4I
From: Paul Heil (paul.heil_at_[hidden])
Date: 2011-04-29 14:10:25
I would like to be able to use the Boost.Test library for Windows Mobile 6
ARMV4I projects compiled by Visual Studio 2008.
I can successfully compile the Boost.Signals, Boost.Thread, Boost.System,
and Boost.Random libraries; but Boost.Test uses several functions that
aren't available under Windows Mobile even with STLPort 5.2.1. Specifically,
these are strerror() and getenv(). The actual compile errors I receive are:
/test/impl/cpp_main.ipp(38) : error C2039: 'getenv' : is not a member of
'`global namespace''
/test/impl/cpp_main.ipp(38) : error C2873: 'getenv' : symbol cannot be used
in a using-declaration
/test/impl/cpp_main.ipp(38) : error C2039: 'strerror' : is not a member of
'`global namespace''
/test/impl/cpp_main.ipp(38) : error C2873: 'strerror' : symbol cannot be
used in a using-declaration
/test/impl/execution_monitor.ipp(1306) : error C2039: 'strerror' : is not a
member of 'stlpd_std'
/test/impl/execution_monitor.ipp(1306) : error C3861: 'strerror': identifier
not found
/test/impl/cpp_main.ipp(106) : error C2039: 'getenv' : is not a member of
'stlp_std'
/test/impl/cpp_main.ipp(106) : error C3861: 'getenv': identifier not found
I have seen past postings by other users that have suggested they have
supplemented STLPort with these functions (particularly posts relating to
VeetoFTC), but I have yet to see an actual example of the code changes
necessary to do that.
Can anybody suggest the least intrusive way to add this functionality so
that I can compile the rest of Boost?
Thanks,
PaulH
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