Page MenuHomePhabricator

boost module conf required
Closed, ResolvedPublic

Assigned To
None
Authored By
fritzsck
Jul 16 2009, 6:30 PM
Referenced Files
F266: boost.diff
Nov 12 2009, 1:22 PM
F265: boost.patch
Oct 19 2009, 1:44 PM

Description

we need a module configuration file in order to use boost in bundles and modules

Event Timeline

first version commited in rev 18450.

@Klaus and Thiago: please have a look at FindBoost.cmake in the Modules directory of your CMake installation. There are a lot of features, please check what you could need.

Right now I am only using the function

::boost::math::legendre_p

which requires boost version 1.35 or higher

.\mbi\Modules\DiffusionImaging\Reconstruction\itkAnalyticalDiffusionQballReconstructionImageFilter.cpp

I am only using the Boost Graph Library (BGL).

@Klaus and Thiago, please have a look at FindBoost:

#Usage of this module as follows:

  1. SET(Boost_USE_STATIC_LIBS ON)
  2. SET(Boost_USE_MULTITHREAD OFF)
  3. FIND_PACKAGE( Boost 1.34.1 COMPONENTS date_time filesystem iostreams ... ) #

Which *COMPONENTS*_ do yuo need, which other parameters should be set?

I only need the component "graph". No specific options are required.

the desired component is called "math/special_functions", no specific options.

Can you please try the patch and add

PACKAGE_DEPENDS Boost

to your MITK_CREATE_MODULE CMake call?

Klaus, Thiago: can you please check this ?!?

I added my component in the patch I just attached.

[73091b]: Merge branch 'bug-2299-boost-config'

Merged commits:

2011-03-16 17:07:12 Marco Nolden [9df6db]
Specified which boost modules should be included

[238bbc]: Merge branch 'bug-2299-boost-config'

Merged commits:

2011-03-18 13:01:26 Klaus Fritzsche [0e6560]
removed boost from cmake ALL_LIBRARIES and link directories

since we only use boost headers this should suffice.
Component specification is also not needed if there are
only boost headers in use.

Merging "applicazion modules" component with "ExtApp plugins"