and got a couple of build errors easy to fix (see attached patch). But the build has hit another compilation error that seems trickier
[ 86%] Built target Application_LayerIO
[ 86%] [ 86%] [ 86%] [ 86%] Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionAndFilter.cc.o
[ 86%] Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionOrFilter.cc.o
Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionRemoveFilter.cc.o
[ 86%] Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionXorFilter.cc.o
Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionThresholdSegmentationLSFilter.cc.o
Building CXX object Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionThreshold.cc.o
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionOrFilter.cc: In member function ‘virtual void Seg3D::OrFilterAlgo::run_filter()’:
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionOrFilter.cc:149:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionOrFilter.cc:149:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionOrFilter.cc:155:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionOrFilter.cc:155:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionAndFilter.cc: In member function ‘virtual void Seg3D::AndFilterAlgo::run_filter()’:
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionAndFilter.cc:149:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionAndFilter.cc:149:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionAndFilter.cc:155:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionAndFilter.cc:155:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionRemoveFilter.cc: In member function ‘virtual void Seg3D::RemoveFilterAlgo::run_filter()’:
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionRemoveFilter.cc:155:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionRemoveFilter.cc:155:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionRemoveFilter.cc:161:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionRemoveFilter.cc:161:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
make[2]: *** [Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionOrFilter.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionXorFilter.cc: In member function ‘virtual void Seg3D::XorFilterAlgo::run_filter()’:
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionXorFilter.cc:149:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionXorFilter.cc:149:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionXorFilter.cc:155:39: error: no matching function for call to ‘boost::shared_lock<boost::shared_mutex>::swap(Core::MaskDataBlock::shared_lock_type)’
/home/rcasero/Documents/seg3d.2.1/src/Application/Filters/Actions/ActionXorFilter.cc:155:39: note: candidate is:
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: void boost::shared_lock<Mutex>::swap(boost::shared_lock<Mutex>&) [with Mutex = boost::shared_mutex, boost::shared_lock<Mutex> = boost::shared_lock<boost::shared_mutex>]
/home/rcasero/Documents/seg3d.2.1/src/Externals/boost/boost/thread/lock_types.hpp:606:10: note: no known conversion for argument 1 from ‘Core::MaskDataBlock::shared_lock_type {aka boost::shared_lock<boost::shared_mutex>}’ to ‘boost::shared_lock<boost::shared_mutex>&’
make[2]: *** [Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionAndFilter.cc.o] Error 1
make[2]: *** [Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionRemoveFilter.cc.o] Error 1
make[2]: *** [Application/Filters/CMakeFiles/Application_Filters.dir/Actions/ActionXorFilter.cc.o] Error 1
make[1]: *** [Application/Filters/CMakeFiles/Application_Filters.dir/all] Error 2
make: *** [all] Error 2
Best regards,
Ramon.
Dr. Ramón Casero Cañas