SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Broken build on Ubuntu 13.04


Chronological Thread 
  • From: Ayla Khan <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: Broken build on Ubuntu 13.04
  • Date: Tue, 28 May 2013 11:47:40 -0600

Hi Ramon,

The 2.1.5 release candidate can be found on the 
https://gforge.sci.utah.edu/svn/seg3d2/branches/2.1.5 branch. The build has ;
been verified to work on Ubuntu 13.04 64-bit.

Ayla

On May 28, 2013, at 5:10 AM, Ramón Casero Cañas wrote:

> Hi,
> 
> I have just updated to the latest Seg3D2 code in
> 
> https://gforge.sci.utah.edu/svn/seg3d2/branches/2.1
> 
> 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
> 
> Oxford e-Research Centre (OeRC)
> University of Oxford
> 7 Keble Rd
> Oxford OX1 3QG
> 
> tlf     +44 (0) 1865 610739
> web     http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
> photos  http://www.flickr.com/photos/rcasero/
> <fix-build-errors.diff>




Archive powered by MHonArc 2.6.16.

Top of page