-
Notifications
You must be signed in to change notification settings - Fork 175
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
[BUG] configure fails to find FFTW, SuiteSparse, OpenMP, BLAS, LAPACK, OpenGL #302
Comments
Please check the file |
for example:
It fails to find |
SCons does not inherit the environment. You can specify parameters to configure as follows:
Run |
Configure still fails to find FFTW with
pkg-config does return the correct link flags:
but they don't appear in the above link line which leads to the missing symbols problem. |
It's not necessary to compile a snippet of code using FFTW. pkg-config returns proper flags, and the cmake script returns correct flags as well. |
🐛 Bug report
Description of the bug
All these packages are installed and are easily discoverable.
Include and lib paths are set correctly in CFLAGS, CXXFLAGS, LDFLAGS, which is a convention.
I see that you wrote 2600+ lines in framework/configure.py to detect some of these packages and this code fails in SCons.
SCons is an anachronism, I recommend that you should use cmake.
With cmake finding all these packages would have been done correctly with fewer than 100 lines of cmake code.
To Reproduce
Run configure.
Revision: d729968
FreeBSD 13.2
The text was updated successfully, but these errors were encountered: