Boost logo

Boost :

Subject: Re: [boost] [system] Problem with boost::system::system_category() under QNX Momentics
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2014-12-31 06:05:53


Hi Piotr,

Am Mittwoch, 31. Dezember 2014, 08:31:53 schrieb Piotr Orzechowski:
> At the beginning I must assure You that I've tried almost every solution
> from similar topics , still they didn't solve my issue.
>
> I'm building binaries from Boost 1.57 using **MinGW**.

This means host OS is Windows, right?
 
> Boost libraries I'm using: *thread* and *system* build without any errors.
>
> I was trying:
> > toolset=gcc --target-os=qnxnto and toolset=gcc --target-os=qnx, both

To many "--" error here. That should either be

toolset=gcc target-os=qnxnto or toolset=gcc target-os=qnx

> didn't work.

What exactly did not work? Please provide more information.

> I'm including correctly both libraries:
> > -lboost_system-mgw48-mt-d-1_57 -lboost_thread-mgw48-mt-d-1_57

For shared linking on windows, this is the wrong order.

> after using:
> > `#define BOOST_SYSTEM_NO_DEPRECATED`
>
> I got rid of `boost::system::generic_category()` error, still I can't

So this is deprecated API.

> get rid of:
> > boost::system::system_category()

And this is new API.

> I'm working in **QNX Momentics**.
> I'm totally out of ideas, I'm really looking forward for any help I can
> get.

Hard to say more unless you show full error messages and commandlines.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk