Skip to content

(Conan): Update many conan packages

Flavien BRIDAULT requested to merge 290-conan-update-many-conan-packages into dev

What does this MR do?

Update conan package to their last testing version and refactor sight.

Details:

  • boost related commit 2e4f136a

    • update from 1.67 to 1.69
    • Remove ::boost::signals
    • Update sha1 header location (boost/compute/detail/sha1.hpp)
  • Eigen related commit d6800f1e

    • Update from 3.3.5 to 3.3.7
    • Use modern Cmake when importing Eigen library
  • VTK related commit 2e4f136a

    • Update from 8.0.0 to 8.2.0
    • replace vtkInstantiator by vtkObjectFactory:
      1. FixedInteractorStyle was moved from visuVTKARAdaptor to fwRenderVTK to simplify factory process.
      2. The old fashion way of instantiating custom vtk object was updated to the VTK standard by using vtkObjectFactory :
        • custom vtk object are registered in a factory ( fwRenderVTK/vtk/Instantiator class ) by using RegisterOverride method.
        • vtk object that can be instantiated from their name (ex: from xml config) has also been registered in our factory. As mentioned here
        • The factory is register at runtime when the Plugin of visuVTK is started.
        • A unit test was added to test if we can create instance of our custom VTK object
      3. Fix Slice & Probe Cursors in adapters by updating points alongs with polydata
      4. Cleanup code, add namespace where missing ...
  • conan

    • Update conan script to use only one compiler per distro (g++7 for Mint 19, clang6 for Mint 18).
    • Use release package if sight is compiled in RelWithDebugInfo.

How to test it?

  1. Clean your conan "testing "packages (conan remove "*") if needed.
  2. Configure, generate and build all sight.
  3. Launch your favorite application.
  4. Execute the tests.
  5. If something is wrong please report here.

NOTE: Keep in mind that you cannot have two versions of a same conan package in sight (version number or channel stable/testing), so if you have such errors check first your additional repositories. (a similar branch is available on nonfree). It is also highly recommended to clean your cmake cache or to start from a fresh build directory.

Additional tests to run

  • Build on Windows
  • Build on Linux
  • Build on macos
  • Test with SDK mode

Associated Issues/Merge Requests

Closes #290 (closed) #183 (closed) #61 (closed) #58 (closed)

Related Conan MR:

Edited by Flavien BRIDAULT

Merge request reports