Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
filfig
Posts: 8
Registered: ‎11-22-2013
My Device: BlackBerry Z10
My Carrier: 910773601

Boost with GNU::STD not working on BB10

Hey there

 

I compiled Boost with GNU STD, but now I am trying to add the boost libs to my project and I'm getting an error.

 

I am linking the libraries to my BlackBerry project (that uses the GNU C ++ runtime instead of the Dinkumware runtime).

 

I am using

 

#include

boost::char_separator charSep("|");
boost::tokenizerboost::char_separator<char > tok(is, charSep);

 

The code runs well, but when I close the application I get

 

Process 395419898 (test_application) terminated SIGSEGV code=1 fltno=11 ip=78143a76(/base/lib/libstdc++.so.6.0.16@_ZNSt6localeD1Ev+0xd) mapaddr=00053a76. ref=00000000 bdslot=1

 

I think this has to do with boost compilation, because this is the only code on my project (not counting with hello world standard code).

 

Please help, if you can!

 

Regards,

Filipe

Please use plain text.