I\'m trying to write a small program using MTL, but I\'m getting the mentioned error when I try to make a MTL Matrix a member of a class.
#include
You can't initialize variable within the class scope, you need to do it in a constructor. Change this:
class myClass { private: mtl::dense2D Ke(6,6); };
to this --
class myClass { public: myClass() : Ke(6,6) { } private: mtl::dense2D Ke; };