I am trying to compile a code and I get the following.
g++ -O3 -Wall -ffast-math -ffinite-math-only -c dpdconfig.cpp
dpdconfig.cpp: In member function ‘void DpdConfig::SetCellDimensions()’:
dpdconfig.cpp:293: error: ‘max_element’ was not declared in this scope
make: *** [dpdconfig.o] Error 1
Could you please suggest me a solution?
Thanks in advance.