toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] Re: [libcvd-members] template error in tag-20090724


From: Gerhard Reitmayr
Subject: [Toon-members] Re: [libcvd-members] template error in tag-20090724
Date: Wed, 26 Aug 2009 22:12:13 +0200

Hi,

I suggest not to use four point pose algorithm anymore. That's why I excluded it from the build and marked it deprecated in the documentation. These are reasons not to use it:

- there is a three-point-pose algorithm in tag that is
  - faster
  - numerically seems to perform better
  - does not require SVD (dependencies on LAPACK)

cheers,
  Gerhard


On 25 Aug 2009, at 10:52, E. Rosten wrote:

On Tue, 25 Aug 2009, henry chu wrote:

Hello

I have been trying to compile tag-20090724 by using the provided visual studio project file in the build folder.

I've now put the fixes in to CVS. Can you try the latest version from there?

However I think this code uses TooN 1.0 but the TooN I have got is 1.1. and some function names have already changed.

The code was written for TooN-1.x, and it looks like you have TooN-2.

But now I still have some errors related to the template declaration in fourpointpose.h
Here are the error messages

c:\documents and settings\proj\デスクトップ \libcvd-20090625\tag-20090724\tag\fourpointpose.h(31) : error C2955: 'TooN::SE3' : the use of class template requires template argument list c:\documents and settings\proj\デスクトップ ¥libcvd-20090625¥toon¥se3.h(50) : 'TooN::SE3' please check the declaration c:\documents and settings\proj\デスクトップ \libcvd-20090625\tag-20090724\src\fourpointpose.cpp(162) : error C2079: 'tag::fourPointPose' uses undefined class 'TooN::SE3' c:\documents and settings\proj\デスクトップ \libcvd-20090625\tag-20090724\src\fourpointpose.cpp(175) : error C2955: 'TooN::SE3' : the use of class template requires template argument list c:\documents and settings\proj\デスクトップ ¥libcvd-20090625¥toon¥se3.h(50) : 'TooN::SE3' please check the declaration c:\documents and settings\proj\デスクトップ \libcvd-20090625\tag-20090724\src\fourpointpose.cpp(175) : fatal error C1903:



does anyone know how to solve these errors? Any help would be much appreciated

The errors are caused because SE3 is now templated, unlike before.

-Ed

--
(You can't go wrong with psycho-rats.)(http://mi.eng.cam.ac.uk/~er258)

/d{def}def/f{/Times s selectfont}d/s{11}d/r{roll}d f 2/m{moveto}d -1
r 230 350 m 0 1 179{ 1 index show 88 rotate 4 mul 0 rmoveto}for/s 12
d f pop 235 420 translate 0 0 moveto 1 2 scale show showpage_______________________________________________
libcvd-members mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/libcvd-members

--
Gerhard Reitmayr
MIL, Engineering Department, Cambridge University
http://mi.eng.cam.ac.uk/~gr281/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]