This gives me the following error:
src/calc_mom.cpp:22:10: fatal error: ‘Math/SpecFuncMathMore.h’ file not found #include “Math/SpecFuncMathMore.h”
^
1 error generated.
make: *** [src/calc_mom] Error 1
Run: root-config --features
and see if you have “mathmore” among reported features, or run: root-config --has-mathmore
and see if you get “yes”.
If you do not have “mathmore”, you need to build your ROOT from scratch again and make sure that it’s enabled.
[quote=“Pepe Le Pew”]Run:
root-config --features
and see if you have “mathmore” among reported features, or run:
root-config --has-mathmore
and see if you get “yes”.
If you do not have “mathmore”, you need to build your ROOT from scratch again and make sure that it’s enabled.[/quote]
Hi Pepe,
Thanks, root-config --has-mathmore returns no. How do I configure this to be added? I normally do:
./configure macosx64 --all
First, you seem to use ROOT 6 and in this case you should stop using “configure” as it may misbehave -> start to use “cmake”, for example something like (note that your “build” subdirectory must be different from your “source” subdirectory): cmake -Dall=ON -Dsoversion=ON /Source/Code/Directory > cmake.out.txt 2>&1
After this step check in the “cmake.out.txt” file the line which begins with “-- Enabled support for:” and see if you have “mathmore” there.
Note that “mathmore” requires GSL version >= 1.10.
Dear Pepe_Le_Pew,
I need to enable the “Mathmore” package in ROOT. I am using the ROOT version 6.12. Following your post (dated 16 Jan) I did whatever you suggested i.e.
cmake -Dall=“ON” -Dsoversion=“ON” /Source/Code/Directory > cmake.out.txt 2>&1
When I checked the “cmake.out.txt” I found the following where there is no mention of “mathmore” package.