Boost thread

Hi,

I'm attempting to compile RTT 1.10.2 on windows. Apparently some boost
libraries are required:
- boost_thread
- boost_program_options.

Can I do without these? If I don't have to compile boost, I won't. Also I
would not like to compile those libs for our embedded target.

Butch.

Boost thread

On Tue, Mar 9, 2010 at 08:37, Butch Slayer <butch [dot] slayers [..] ...> wrote:
> Hi,
> I'm attempting to compile RTT 1.10.2 on windows. Apparently some boost
> libraries are required:
> - boost_thread
> - boost_program_options.
> Can I do without these? If I don't have to compile boost, I won't.  Also I
> would not like to compile those libs for our embedded target.

You can do without compiling Boost. The program options is unused (but
future RTT versions may require it to process options from ORO_main()
). I'm not sure why boost_thread is triggered, normally you can
disable it since on Windows, we use the native API, not boost.

If you don't want to compile boost on Windows, you can still download
a precompiled version from boostpro.com

Peter

Boost thread

>
> On Tue, Mar 9, 2010 at 08:37, Butch Slayer <butch [dot] slayers [..] ...>
> wrote:
> > Hi,
> > I'm attempting to compile RTT 1.10.2 on windows. Apparently some boost
> > libraries are required:
> > - boost_thread
> > - boost_program_options.
> > Can I do without these? If I don't have to compile boost, I won't. Also
> I
> > would not like to compile those libs for our embedded target.
>
> You can do without compiling Boost. The program options is unused (but
> future RTT versions may require it to process options from ORO_main()
> ). I'm not sure why boost_thread is triggered, normally you can
> disable it since on Windows, we use the native API, not boost.
>
> If you don't want to compile boost on Windows, you can still download
> a precompiled version from boostpro.com
>
> Peter
>
CMake tells me they are required :-( I used the cmake-gui on windows. Maby
there is still a reference somewhere in a cmake-file?

Butch.

Boost thread

On Tuesday 09 March 2010 13:26:43 Butch Slayer wrote:
> > On Tue, Mar 9, 2010 at 08:37, Butch Slayer <butch [dot] slayers [..] ...>
> >
> > wrote:
> > > Hi,
> > > I'm attempting to compile RTT 1.10.2 on windows. Apparently some boost
> > > libraries are required:
> > > - boost_thread
> > > - boost_program_options.
> > > Can I do without these? If I don't have to compile boost, I won't.
> > > Also
> >
> > I
> >
> > > would not like to compile those libs for our embedded target.
> >
> > You can do without compiling Boost. The program options is unused (but
> > future RTT versions may require it to process options from ORO_main()
> > ). I'm not sure why boost_thread is triggered, normally you can
> > disable it since on Windows, we use the native API, not boost.
> >
> > If you don't want to compile boost on Windows, you can still download
> > a precompiled version from boostpro.com
> >
> > Peter
>
> CMake tells me they are required :-( I used the cmake-gui on windows. Maby
> there is still a reference somewhere in a cmake-file?

On line 54 of config/check_depend.cmake :
find_package(Boost 1.33 COMPONENTS program_options thread)

which means it's optional. Maybe there's a bug in the boost detection logic,
you can uncomment that line.

Peter