-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meep .tar.gz build fails without MPB #2485
Comments
Looks like SWIG is generating getters/setters for the We haven't noticed this because we normally build Meep linked to MPB (so that we can use eigenmode sources and mode decomposition features), but it should be possible to build Meep without this (though you won't get those features). There should be a way to prevent SWIG from generating getter/setter code for those internal fields using a SWIG (For now, a workaround is to install MPB. Alternatively you could re-generate the SWIG file on your system by configuring in maintainer mode and deleting |
I installed mpb ii mpb 1.11.1-4 amd64 MIT Photonic-Bands and unfortunately still getting exactly the same error. I deleted the directory and started over, so there shouldn't be any leftovers causing trouble. |
Is there a missing (The next release of Meep should compile without MPB.) |
Good grief, what a noob thing to forget. yes, i had forgotten to install the -dev package. however...
it's there now, but configure doesn't seem want to define HAVE_MPB, this is what shows up in config.h,
I edited the config.h manually and added #define HAVE_MPB 1 then ran make again and now i get a different error
which looks suspiciously like now it's not linking the mpb library. So having been defeated i erased the directory and started again (again) and examined config.log where i found this:
huh.... i guess i'll install fftw (shouldn't the configure script have flagged that ?) and then I should be good, right ?! No. LOL.
So now i have fftw errors, but fewer of them. Do i have an fftw version problem ?
edit: yes, i have an fftw version problem. That's really annoying. You, of course, have to install "fftw3-dev" NOT "fftw-dev".
And SUCCESS ! I'm unclear on whether the configure scripts failure to flag fftw3 as missing is a bug or not. I would think that you would need it for "base" meep regardless of whether mpb was being included or not. Thanks for your help ! p.s. don't forget to add /usr/local/lib to your LD_LIBRARY_PATH :-) |
FFTW is not used directly in Meep. Arguably it's a missing dependency for the mpb-dev package. |
Linux mint 21.1 Vera
configure ran without issues once the dependendencies were installed.
make runs for a while and then starts producing a LOT of errors, I'm just providing the first few.
possibly a missing package that configure is not detecting ?
The text was updated successfully, but these errors were encountered: