Skip to content

linker error - vctDoubleMat argument type in mtsCommand - mtsGenericObjectProxy undefined  #19

Open
@marcinbalicki

Description

@marcinbalicki
//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};  

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions