Closed Theod0reWu closed 1 year ago
Hi, I've recently encountered the exact same problem when trying to build meep, but this even happened after I install mpb. Did you find a solution in the end?
It looks like that may happen when you build from source using the release tarball .tar.gz
but aren't linking with MPB.
Solution: compile and install MPB as well, or re-build the SWIG file (remove python/meep-python.cxx
and configure with --enable-maintainer-mode
).
If that's indeed the problem, we should really fix it so that the release tarballs compile as-is without MPB.
Just to add on. I got it to work by installing MPB, I tried to re-build the SWIG files from those instructions and wasn't able to get it work that way.
When I tried to build MEEP from the source I'm getting this error:
I'm not sure what's causing this. I don't have MPB installed. However, the latest release says that MPB is not required. I'm building this from the latest release 1.27.0 from the [meep-1.27.0.tar.gz] file. The flags I've passed into configure are: --enable-shared --enable-single --without-scheme