diff options
author | Thomas White <taw@physics.org> | 2015-07-15 09:09:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-07-15 09:09:07 +0200 |
commit | b74d1a6848e8228671c8b22c37bfdce5092f68a1 (patch) | |
tree | d72fd95b390fc0a3d2be59f3396240c0cf3463b1 | |
parent | 9aab5e7033a9015d7d34de353642a8f61f530b86 (diff) |
Add warnings for asdf when compiled without FFTW
-rw-r--r-- | libcrystfel/src/asdf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/asdf.h b/libcrystfel/src/asdf.h index 2c070d79..1e492a6f 100644 --- a/libcrystfel/src/asdf.h +++ b/libcrystfel/src/asdf.h @@ -55,6 +55,8 @@ extern void asdf_cleanup(IndexingPrivate *pp); int run_asdf(struct image *image, IndexingPrivate *ipriv) { + ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); + return 0; } @@ -62,6 +64,8 @@ IndexingPrivate *asdf_prepare(IndexingMethod *indm, UnitCell *cell, struct detector *det, float *ltl) { + ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); + ERROR("To use asdf indexing, recompile with FFTW.\n"); return NULL; } |