Problems with FFTW in Root 5.34/28 with MacOSX10.10

Hi,
I have to run some ROOT macros including FFTW. I have Root 5.34/28 running on MacOSX10.10.3, but when doing something like

hm = hsin->FFT(hm, “MAG”); (from the FTT.C tutorial)

I get the following error:

Error in <TMacOSXSystem::DynamicPathName>: FFTW[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /Applications/root_v5.34.28/lib:/Applications/root_v5.34.28/lib:/usr/local/Cellar/pcre/8.36/lib:/opt/local/lib:/Applications/root_v5.34.28/lib::.:/Applications/root_v5.34.28/lib::/Applications/root_v5.34.28/cint/cint/stl Error in <TVirtualFFT::FFT>: handler not found Error: illegal pointer to class object hm 0x0 1569 FFT.C:95:

So I tried to reinstall Root with fftw3, both with brew and with

In both cases it generates these errors:

clang++ -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -stdlib=libc++ -pthread -I. -I/Users/gigicap/root/cint/cint/inc -o cint/reflex/src/G__Reflex.o -c cint/reflex/src/G__Reflex.cxx In file included from cint/reflex/src/G__Reflex.cxx:17: In file included from cint/reflex/src/G__Reflex.h:49: include/Reflex/Builder/CollectionProxy.h:705:59: error: reference to 'set' is ambiguous template <class K, class T, class A> struct Proxy<std::set<K, T, A> > { ~~~~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:398:29: note: candidate found by name lookup is 'std::__1::set' class _LIBCPP_TYPE_VIS_ONLY set ^ include/Reflex/Builder/CollectionProxy.h:36:47: note: candidate found by name lookup is 'std::set' template <class K, class T, class A> class set; ^ include/Reflex/Builder/CollectionProxy.h:705:59: error: unknown type name 'set' template <class K, class T, class A> struct Proxy<std::set<K, T, A> > { ^ include/Reflex/Builder/CollectionProxy.h:714:59: error: reference to 'multiset' is ambiguous template <class K, class T, class A> struct Proxy<std::multiset<K, T, A> > { ~~~~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:808:29: note: candidate found by name lookup is 'std::__1::multiset' class _LIBCPP_TYPE_VIS_ONLY multiset ^ include/Reflex/Builder/CollectionProxy.h:37:47: note: candidate found by name lookup is 'std::multiset' template <class K, class T, class A> class multiset; ^ include/Reflex/Builder/CollectionProxy.h:714:59: error: unknown type name 'multiset' template <class K, class T, class A> struct Proxy<std::multiset<K, T, A> > { ^ include/Reflex/Builder/CollectionProxy.h:732:68: error: reference to 'multimap' is ambiguous template <class K, class T, class R, class A> struct Proxy<std::multimap<K, T, R, A> > { ~~~~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1528:29: note: candidate found by name lookup is 'std::__1::multimap' class _LIBCPP_TYPE_VIS_ONLY multimap ^ include/Reflex/Builder/CollectionProxy.h:39:56: note: candidate found by name lookup is 'std::multimap' template <class K, class T, class R, class A> class multimap; ^ include/Reflex/Builder/CollectionProxy.h:732:68: error: unknown type name 'multimap' template <class K, class T, class R, class A> struct Proxy<std::multimap<K, T, R, A> > {

Any idea about how to solve this issue?
Thanks.

 Gigi

Hi,

that’s this one: root.cern.ch/gitweb?p=root.git; … edafd30bd6

You can either add that commit to your sources and build yourself, or take a nightly from ecsft.cern.ch/dist/ROOT/v5-34-00 … s/?C=M;O=D or /afs (I can find out where those hide if you need it) or wait for the next 5.34 patch release.

Cheers, Axel.

Thanks Axel,

this solved the problem.
Cheers,

 Gigi