Open
Description
//roBehaviorSinusNavControl.h:
void SetMat(const vctDoubleMat &mat) { m = mat};
//roBehaviorSinusNavControl.cpp
providedInterface->AddCommandWrite(&roBehaviorSinusNavControl::SetMat, this, "SetMat");
//linker errors:
function mtsGenericObjectProxyBase<vctDynamicMatrix<double> >::Services() const: error: undefined reference to 'mtsGenericObjectProxy<vctDynamicMatrix<double> >::ClassServices()'
function vtable for mtsGenericObjectProxy<vctDynamicMatrix<double> >: error: undefined reference to 'mtsGenericObjectProxy<vctDynamicMatrix<double> >::Services() const'
//If I change the matrix to mts then it works:
void SetMat(const mtsDoubleMat &mat) { m = mat};