From: <jue...@gm...> - 2003-05-28 11:58:12
|
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. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |