iv3d-users

Text archives Help


[IV3D-USERS] Re: Basics/Clipper.cpp:143: error: no matching function for call to sort


Chronological Thread 
  • From: tom fogal <tfogal@sci.utah.edu>
  • To: "iv3d-users@sci.utah.edu" <iv3d-users@sci.utah.edu>
  • Cc: "iv3d-users@sci.utah.edu" <iv3d-users@sci.utah.edu>
  • Subject: [IV3D-USERS] Re: Basics/Clipper.cpp:143: error: no matching function for call to sort
  • Date: Tue, 13 Nov 2012 09:58:04 +0100

Which compiler revision, exactly?

How are you trying to build (qmake line you execute, etc.)?

Are you compiling svn HEAD or the source from the 3.0.0 tarball?

-tom

On 13.11.2012, at 08:47, Mathieu Malaterre <mathieu.malaterre@gmail.com> 
wrote:

> Hi all,
> 
>  I am trying to compile imagevis3d on my linux debian/stable system.
> However it is failing because of:
> 
> 
> Basics/Clipper.cpp: In static member function ‘static void
> Clipper::BoxPlane(std::vector<VECTOR3<float>,
> std::allocator<VECTOR3<float> > >&, const FLOATVECTOR3&, float)’:
> Basics/Clipper.cpp:143: error: no matching function for call to
> ‘sort(__gnu_cxx::__normal_iterator<VECTOR3<float>*,
> std::vector<VECTOR3<float>, std::allocator<VECTOR3<float> > > >,
> __gnu_cxx::__normal_iterator<VECTOR3<float>*,
> std::vector<VECTOR3<float>, std::allocator<VECTOR3<float> > > >,
> <anonymous struct>&)’
> make[3]: *** [Build/objects/Clipper.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> IO/AbstrConverter.cpp: In static member function ‘static bool
> AbstrConverter::Process8Bits(LargeRAWFile&, const std::string&,
> uint64_t, bool, Histogram1DDataBlock*)’:
> IO/AbstrConverter.cpp:134: error: expected primary-expression before ‘[’ 
> token
> IO/AbstrConverter.cpp:134: error: expected primary-expression before ‘]’ 
> token
> IO/AbstrConverter.cpp:134: error: expected primary-expression before 
> ‘unsigned’
> 
> 
>  Does anyone knows of a quick work around ?
> 
> Thanks !



Archive powered by MHonArc 2.6.16.

Top of page