From: Patrick H. <pa...@13...> - 2003-05-28 12:43:49
|
Which version of GMTL are you using? The line numbers don't match your description in the latest CVS Xforms.h. Also, what compilers are you using on IRIX and Linux? I'm rather surprised that GCC 2.95.x can handle GMTL at all. -Patrick jue...@gm... wrote: > Hi everybody, > > I have a problem with using the gmtl on HP UX. The compiler (gcc-2.95.2) > cannot decide which of the two xform template functions (Xforms.h line 213 and > line 249) should be used for the xform call (line 236). > There are no problems compiling the same code on IRIX or LINUX. > The compiler output is: > > >>Error 225: "../../3rdparty/gmtl/include/gmtl/Xforms.h", line 236 # > > Ambiguous overloaded function call; > >>more than one acceptable function found. Two such functions that matched > > were > >>"gmtl::Point<float,(unsigned int)4> &gmtl::xform<float,(unsigned > > int)4,(unsigned > >>int)4>(gmtl::Point<float,(unsigned int)4> &,const > > gmtl::Matrix<float,(unsigned int)4,(unsigned > >>int)4> &,const gmtl::Point<float,(unsigned int)4> &)" > > ["../../3rdparty/gmtl/include/gmtl/Xforms.h", line 213] > >>and >>"gmtl::Point<float,(unsigned int)4> &gmtl::xform<float,(unsigned > > int)4,(unsigned int)4,(unsigned > >>int)4>(gmtl::Point<float,(unsigned int)4> &,const > > gmtl::Matrix<float,(unsigned int)4,(unsigned > >>int)4> &,const gmtl::Point<float,(unsigned int)4> &)" > > ["../../3rdparty/gmtl/include/gmtl/Xforms.h", line 249]. > >> return xform( temporary, matrix, point ); >> ^^^^^ > > > Thanks, > Juergen. > -- Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |