Skip to content
The Boost C++ Libraries
Branch: 1_48_0-gnu
Clone or download
tvaneerd-rim
tvaneerd-rim Merge pull request #8 from tvaneerd-rim/develop
Boost 1.52!
Latest commit fc90c3f Jun 25, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
boost change QNX check for va_list May 27, 2013
doc boost 1.52 May 27, 2013
libs
more
status
tools Fixed file permission for Linux and added gitignore file May 27, 2013
.gitignore Fixed file permission for Linux and added gitignore file May 27, 2013
INSTALL boost 1.52 May 27, 2013
Jamroot boost 1.52 May 27, 2013
LICENSE_1_0.txt boost 1.52 May 27, 2013
README.md
bbbb.bat
bbbb.sh
blackberry-config.jam Add '--without-python' option to build without python May 27, 2013
boost-build.jam boost 1.52 May 27, 2013
boost.css boost 1.52 May 27, 2013
boost.png
boostcpp.jam
bootstrap.bat boost 1.52 May 27, 2013
bootstrap.sh Change permissions for bbbb.sh & bootstrap.sh May 27, 2013
index.htm boost 1.52 May 27, 2013
index.html boost 1.52 May 27, 2013
rst.css

README.md

Boost for BlackBerry 10

Current Boost Version: 1.52.0.

For the most part, Boost requires almost no changes to work in BlackBerry 10 ("BB10"). All required code changes are pushed upstream whenever possible.

What isn't upstreamed is how to build it, as it is BB10 specific. That can be found here.

In particular, there is a blackberry-config.jam that helps build Boost for the device. There is also a simple bbbb script (bbbb.sh or bbbb.bat) to Build Boost for BlackBerry. Basically the script shows the required command bjam command line for building boost.

Requirements

You must have the BB10 NDK setup in order to build Boost for BB10. It can be downloaded at http:://developer.blackberry.com. The BB10 NDK needs to be in your path for the boost build to work. (ie use the bbndk-env script to help with that.)

Build Instructions

  1. run bbndk-env (.bat or .sh) to set up the BB10 NDK environment variables.
  2. run bootstrap (.bat or .sh) as you normally would to get Boost.Build set up.
  3. (optional) build Boost for your host platform, to check that everything is set up correctly.
  4. run bbbb (.bat or .sh) to build Boost for BlackBerry10.

Tests

Currently, it is not easy to run the tests to verify boost was built correctly. (This is because the tests need to run on device, not locally, and doing that is a bit tricky...)

Note this means much of the boost is untested on BB10 (although much of it is used internally by BlackBerry and tested by other means).

Known Caveats

Boost.Context probably doesn't work on QNX/BB10. Boost.Python only works if you can find a version of python for QNX. (ie find a version of python for linux and you are close, but you will need to build it yourself for QNX.)

Repository Committers

Bug Reporting and Feature Requests

If you find a bug or have an enhancement request, simply file an Issue and send a message (via github messages) to the Committers to the project to let them know that you have filed an Issue.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.