Menu

#73 Compilation fail under Visual Studio 8

open
nobody
None
5
2012-10-10
2008-12-01
±ä«TªN
No

When compiling meshlab, this error happens:
e:\meshlab\vcglib\wrap/gl/space.h(126) : error C2912: explicit specialization; 'void vcg::glVertex(const Eigen::Matrix<_Scalar,_Rows,_Cols> &)' is not a specialization of a function template
...

template<typename t=""> inline void glTexCoord(const Eigen::Matrix<t,3,1> & p) { assert(0); }
template<> inline void glTexCoord(const Eigen::Matrix<int,3,1> & p) { glTexCoord3iv((const GLint*)p.data());}</int,3,1></t,3,1></typename>

Should I remove all "template<>"?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB