[Trilinos-Users] error while installing stk package

hitesh.raninga at stud.uni-due.de hitesh.raninga at stud.uni-due.de
Thu Nov 20 03:25:46 MST 2014


hello,
i am getting following error while compiling stk package
"In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:
In constructor
‘stk::mesh::PeriodicBoundarySearch<CoordinateFunctor>::TransformHelper::TransformHelper(double,
const double*)’:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
error: no matching function for call to ‘rotate(double&, const double&,
const double&, const double&)’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
note: candidates are:
In file included from /usr/include/glm/gtc/matrix_transform.hpp:292:0,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:39,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtc/matrix_transform.inl:69:43: note: template<class T,
glm::precision P> glm::detail::tmat4x4<T, P> glm::rotate(const
glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate
                                           ^
/usr/include/glm/gtc/matrix_transform.inl:69:43: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
note:   mismatched types ‘const glm::detail::tmat4x4<T, P>’ and ‘double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
In file included from /usr/include/glm/gtc/quaternion.hpp:406:0,
                 from /usr/include/glm/gtc/type_precision.hpp:47,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:40,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtc/quaternion.inl:617:41: note: template<class T,
glm::precision P> glm::detail::tquat<T, P> glm::rotate(const
glm::detail::tquat<T, P>&, const T&, const glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tquat<T, P> rotate
                                         ^
/usr/include/glm/gtc/quaternion.inl:617:41: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
note:   mismatched types ‘const glm::detail::tquat<T, P>’ and ‘double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
In file included from /usr/include/glm/gtx/transform.hpp:82:0,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:41,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtx/transform.inl:21:43: note: template<class T,
glm::precision P> glm::detail::tmat4x4<T, P> glm::rotate(T, const
glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate(
                                           ^
/usr/include/glm/gtx/transform.inl:21:43: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
note:   mismatched types ‘const glm::detail::tvec3<T, P>’ and ‘const
double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:
In constructor
‘stk::mesh::PeriodicBoundarySearch<CoordinateFunctor>::TransformHelper::TransformHelper(double,
const double*, const double*)’:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:103:79:
error: no matching function for call to ‘rotate(double&, const double&,
const double&, const double&)’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:103:79:
note: candidates are:
In file included from /usr/include/glm/gtc/matrix_transform.hpp:292:0,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:39,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtc/matrix_transform.inl:69:43: note: template<class T,
glm::precision P> glm::detail::tmat4x4<T, P> glm::rotate(const
glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate
                                           ^
/usr/include/glm/gtc/matrix_transform.inl:69:43: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:103:79:
note:   mismatched types ‘const glm::detail::tmat4x4<T, P>’ and ‘double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
In file included from /usr/include/glm/gtc/quaternion.hpp:406:0,
                 from /usr/include/glm/gtc/type_precision.hpp:47,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:40,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtc/quaternion.inl:617:41: note: template<class T,
glm::precision P> glm::detail::tquat<T, P> glm::rotate(const
glm::detail::tquat<T, P>&, const T&, const glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tquat<T, P> rotate
                                         ^
/usr/include/glm/gtc/quaternion.inl:617:41: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:103:79:
note:   mismatched types ‘const glm::detail::tquat<T, P>’ and ‘double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
In file included from /usr/include/glm/gtx/transform.hpp:82:0,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:41,
                 from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:
/usr/include/glm/gtx/transform.inl:21:43: note: template<class T,
glm::precision P> glm::detail::tmat4x4<T, P> glm::rotate(T, const
glm::detail::tvec3<T, P>&)
  GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate(
                                           ^
/usr/include/glm/gtx/transform.inl:21:43: note:   template argument
deduction/substitution failed:
In file included from
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_util/stk_search_util/PeriodicBoundarySearch.hpp:103:79:
note:   mismatched types ‘const glm::detail::tvec3<T, P>’ and ‘const
double’
       m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0], axis[1],
axis[2]));
                                                                               ^
make[2]: ***
[packages/stk/stk_search_util/stk_search_util/CMakeFiles/stk_search_util_base.dir/PeriodicBoundarySearch.cpp.o]
Error 1
make[2]: Leaving directory `/home/hitesh/trilinos'
make[1]: ***
[packages/stk/stk_search_util/stk_search_util/CMakeFiles/stk_search_util_base.dir/all]
Error 2
make[1]: Leaving directory `/home/hitesh/trilinos'
make: *** [all] Error 2
"
can you please help me with this?

regards,
Hitesh Raninga




More information about the Trilinos-Users mailing list