LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
35 stars 14 forks source link

FOCUS doesn't compile on OS X right now, with a library issue (threads) #161

Closed sthennin closed 7 years ago

sthennin commented 7 years ago

[ 19%] Linking Fortran executable 2dx_fftrans.exe Undefined symbols for architecture x86_64: "_fftwf_init_threads", referenced from: tdxfft in libfft.a(fftlib.cpp.o) "_fftwf_plan_with_nthreads", referenced from: tdxfft in libfft.a(fftlib.cpp.o) "_fftwf_cleanup_threads", referenced from: tdxfft in libfft.a(fftlib.cpp.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make[2]: [kernel/mrc/source/2dx_fftrans.exe] Error 1 make[1]: [kernel/mrc/source/CMakeFiles/2dx_fftrans.dir/all] Error 2 make: *** [all] Error 2 Build failed for Focus

nikhilbiyani commented 7 years ago

It complies, on my macOS, you would need to install the fftw threaded library. Try:

brew install fftw

nikhilbiyani commented 7 years ago

It was probably mixed up FFTW libraries.