GMES (GIST Maxwell's Equations Solver) is a free Python package for the electromagnetic simulation using FDTD method.Forked from Kyungwon Chun <kwchun@gist.ac.kr> https://sourceforge.net/p/gmes/code-git/ci/master/tree/
I encountered the same issue and fixed it by adding #include to src/pw_dm2.hh (not cmath.h) and then changeing
return std::sqrt(accu);
to
return sqrt(accu);
HI. I just clone the repository to install this module in order to install it. The problem I get some building errors.
First, I tried to install after clone:
Aftewards, including
#include <cmath>
intosrc/pw_dm2.hh
for sqrt() support, I got the following:Any ideas on what to do? How to install properly?