[Trilinos-Users] error while installing stk package

Jonathan Hu jhu at sandia.gov
Thu Nov 20 12:10:37 MST 2014


trilinos-users-request at software.sandia.gov wrote on 11/20/2014 11:00 AM:
> Subject:
> [Trilinos-Users] error while installing stk package
> From:
> <hitesh.raninga at stud.uni-due.de>
> Date:
> 11/20/2014 02:25 AM
>
> To:
> <trilinos-users at software.sandia.gov>
> CC:
> <dominik.brands at uni-due.de>
>
>
> 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
>                                             ^
[snip]
> "
> can you please help me with this?
>
> regards,
> Hitesh Raninga
>
>
>
Hitesh,

You could try disabling the glm TPL entirely with -D TPL_ENABLE_GLM=OFF; 
however, I don't know if you really need it for your application. Please 
describe what it is you want to do with STK. The STK experts on this 
list (I'm not one of them) might be able to offer more help if they have 
some context.

Regards,
Jonathan




More information about the Trilinos-Users mailing list