Reply To: Compile error no executable created
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Compile error no executable created › Reply To: Compile error no executable created
August 19, 2020 at 11:03 am
#5101
ThomasB
Participant
Re,
I checked the file “blockLatticeLocalF3D.hh” : at the beginning of the file, there are the following includes
#include<cmath>
#include<math.h>
so math.h is already include 🙁
to avoid the crash, i added the following line const double M_PI = 3.14159265359;
in file “blockLatticeLocalF3D.hh” just before the use of M_Pi