Hello,
I can run a macro using Minuit2 and GSLMinimizer on one machine, but not another. The error message is:
macro.cc:2:31: error: Math/GSLMinimizer.h: No such file or directory
macro.cc:3:38: error: Minuit2/Minuit2Minimizer.h: No such file or directory
…
I compile as .L macro.cc+ on a MacOS 10.6.8.
locate GSLMinimizer.h Minuit2Minimizer.h gives me:
/Users/username/root/math/minuit2/inc/Minuit2/Minuit2Minimizer.h
/usr/bin/root/math/minuit2/inc/Minuit2/Minuit2Minimizer.h
/Users/username/root/include/Math/GSLMinimizer.h
/Users/username/root/math/mathmore/inc/Math/GSLMinimizer.h
/usr/bin/root/math/mathmore/inc/Math/GSLMinimizer.h
I tried adding these paths manually to PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH even ROOTSYS, so that isn’t it. I tried copying the .h files into the working directory and explicitly typing out the path in the #include, but neither worked.
Anyone have avice?
Thanks!
Warren Harding