Trying to compile egmesh.cpp and got an error saying M_PI is not defined.
https://github.com/ElmerCSC/elmerfem/bl ... .cpp#L2571
There is FM_PI used. It is defined in egdef.h which is included by egmesh.cpp:
Code: Select all
#ifndef FM_PI
#define FM_PI 3.1415926
#endif
Cheers
Cean