This is visual studio C++, code that I did not write but that a coworker asked for help with debugging. The original was an earlier version but VS 2010 converted it. Could that be part of the problem?
I think the error means that the compiler cannot find something it is trying to link to... doesn't it? I just don't know what that something is. How do I fix this?
1>CmdView.obj : error LNK2019: unresolved external symbol "class Matrix<float> __cdecl Transpose(class Matrix<float> const &)" (?Transpose@@YA?AV?$Matrix@M@@ABV1@@Z) referenced in function "protected: void __thiscall CCmdView::OnCal(void)" (?OnCal@CCmdView@@IAEXXZ) //I thought it might be the 'protected' keyword that was preventing access, but I have other errors in public functions 1>CmdView.obj : error LNK2019: unresolved external symbol "int __cdecl NumRows(class Matrix<float> const &)" (?NumRows@@YAHABV?$Matrix@M@@@Z) referenced in function "public: static int __cdecl Matrix<float>::pinv(class Matrix<float> &,class Matrix<float> &,class Matrix<float> &,class Matrix<float> &)" (?pinv@?$Matrix@M@@SAHAAV1@000@Z)
Thanks for any help/advice!

New Topic/Question
Reply




MultiQuote







|