Make error : Liking CXX

GROMACS version:2020.3
GROMACS modification: No
Here post your question : I am trying to install Gromacs on WSL ubuntu. The make is failing:

[ 95%] Built target libgromacs
[ 95%] Linking CXX executable …/…/bin/template
/usr/bin/ld: CMakeFiles/template.dir/template.cpp.o: in function AnalysisTemplate::AnalysisTemplate()': template.cpp:(.text+0x57): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string()’
/usr/bin/ld: template.cpp:(.text+0x140): undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' /usr/bin/ld: CMakeFiles/template.dir/template.cpp.o: in function AnalysisTemplate::initAnalysis(gmx::TrajectoryAnalysisSettings const&, gmx::TopologyInformation const&)’:
template.cpp:(.text+0x4ea): undefined reference to operator new(unsigned long)' /usr/bin/ld: template.cpp:(.text+0x54f): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::empty() const’
/usr/bin/ld: template.cpp:(.text+0x573): undefined reference to `operator new(unsigned long)’

Thanks for any help

Which Ubuntu version is this?

Also please post: full cmake command line you used. And all linker output and their full commands from the build output not just this partial one.

Sorry, it started to build correctly now and it is installed with no errors. Strange. Sorry to bother you.