Fail to to compile TMatrixT<TComplex>

Hi, I met some trouble when compiling the following code:

#include <TMatrixT.h>
#include <TComplex.h>
typedef TMatrixT<TComplex> TMatC;

int main()
{
TMatC mat;
return 0;
}

then complie:
: g++ $(root-config --cflags) $(root-config --libs) test.cxx -o test
got lots of undefined symbols during link.

any solutions ? thank you.

_ROOT Version: 6.24/06
_Platform: ubuntu 20.40 LTS
_Compiler: gcc 9.3.0

Hello,

I believe this is a duplicate of:

Please check the answer you got in that other post.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.