Garfield ++ doesn't visualize: Aborted (core dumped)

I use WSL (Ubuntu 20.04.6) for Root and Garfield++. The build was succesful, then I tried to run example/Gem. It gave some values but did not show up Root visualization and gave this error:

terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid

Do anyone know why this happens? Thanks a lot in advance.

did you set the GARFIELD_INSTALL environment variable?

Thank you so much sir, it solved the problem real quick.

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