From: Michael B. <mb...@ci...> - 2006-06-09 15:59:03
|
=20 I am trying to build vxl 1.5.1 on ia64 with the following: =20 CXX=3Dicpc CC=3Dicc CXXFLAGS=3D-cxxlib-icc =20 The following error is reported: =20 Building CXX object core/vil/algo/CMakeFiles/vil_algo.dir/Templates/vil_median+bool-.o /opt/intel_cc_80/include/c++/algorithm(428): error: no instance of overloaded function "std::swap" matches the argument list argument types are: (std::vector<bool, std::allocator<bool>>::iterator::reference, std::vector<bool, std::allocator<bool>>::iterator::reference) _STD_DW swap(*_Left, *_Right); ^ detected during: instantiation of "void std::iter_swap(_FwdIt1, _FwdIt2) = [with _FwdIt1=3Dstd::vector<bool, std::allocator<bool>>::iterator, _FwdIt2=3Dstd::vector<bool, std::allocator<bool>>::iterator]" at line = 1875 instantiation of "void std::_Med3(_RanIt, _RanIt, _RanIt) = [with _RanIt=3Dstd::vector<bool, std::allocator<bool>>::iterator]" at line = 1888 instantiation of "void std::_Median(_RanIt, _RanIt, _RanIt) [with _RanIt=3Dstd::vector<bool, std::allocator<bool>>::iterator]" at = line 1901 instantiation of "std::pair<_FwdIt, _FwdIt> std::_Unguarded_partition(_RanIt, _RanIt) [with = _RanIt=3Dstd::vector<bool, std::allocator<bool>>::iterator]" at line 2478 instantiation of "void std::nth_element(_RanIt, _RanIt, = _RanIt) [with _RanIt=3Dstd::vector<bool, std::allocator<bool>>::iterator]" at = line 47 of "/cis/project/software/opt/ia64/vxl-1.5.1/core/vil/algo/vil_median.h" instantiation of "T vil_sorted_value(const vil_image_view<T> = &, unsigned int, const vil_structuring_element &, int, int, std::vector<T, std::allocator<_Elem>> &, double) [with T=3Dbool]" at line 44 of "/cis/project/software/opt/ia64/vxl-1.5.1/core/vil/algo/vil_median.txx" instantiation of "void vil_median(const vil_image_view<T> &, vil_image_view<T> &, const vil_structuring_element &) [with T=3Dbool]" =20 compilation aborted for /cis/project/software/opt/ia64/vxl-1.5.1/core/vil/algo/Templates/vil_medi= an+ bool-.cxx (code 2) make[2]: *** [core/vil/algo/CMakeFiles/vil_algo.dir/Templates/vil_median+bool-.o] = Error 2 =20 =20 I can build 1.4.0 in the same environment. =20 Any help would be appreciated. =20 Michael Bowers =20 =20 =20 |