Open rprechelt opened 5 years ago
The error seems related to Guile. What version of Guile and SWIG are using? Can you try compiling with --without-scheme
?
I see this (among several other undefined types and functions) on my OS X. My libctl is 4.4.0 (latest upstream); I'm using guile-2.0.14, will try 2.2.6 that I also have laying around...
Same result (using guile-2.2.6 for both libctl and meep). In addition to maxwell_data, I have (with both guile versions) a similar set of errors about undeclared type scalar_complex
and 'struct meep::eigenmode_data' has no member named 'fft_data_E'
(and also some other unknown members), and undeclared type evectmatrix
, and 'struct meep::eigenmode_data' has no member named 'H'
.
It all looks like #915, and I do not have mpb installed. Off to install it...
Installing mpb-1.5 (what I had laying around), ./configure detected it, but then there was a build failure due to meep using struct elements of mpb that were only added in later versions (NanoComp/mpb@fc55636ab0fd2961b4d1a46c039dcb469d37149e). Updating to mpb-1.9.0 allowed meep to build successfully. So meep needs to check for of "mbp>1.6" not just "mpb". There's clearly something wrong in whatever meep does when external mpb is not available, but "install external support instead of building local workaround" is definitely the solution for me.
I am attempting to compile meep on a Fedora 29 workstation - freshly installed guile, libctl, and python 3.6.
I downloaded the latest release from Github,
./configure
and thenmake
.I am able to install this using conda but I would like the ability to install this outside of conda.
Info:
gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2)
Python 3.6.8
libctl-4.3.0
Let me know if there's any other information you need!
The compile log: