Opened 6 years ago
Closed 3 years ago
#57157 closed defect (wontfix)
root6 @6.14.04 +veccore: fatal error: 'VecCore/VecCore' file not found
Reported by: | olupton (Olli Lupton) | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.3 |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | root6 |
Description
I have the following variant of the root6 port
@6.14.04_0+clang60+cocoa+cxx17+gcc8+gsl+http+minuit2+opengl+python37+roofit+root7+soversion+ssl+tmva+vc+veccore+xml+xrootd
Code that links against this now fails to compile with errors such as:
In file included from /opt/local/libexec/root6/include/root/Math/Minimizer.h:20: In file included from /opt/local/libexec/root6/include/root/Math/Util.h:27: /opt/local/libexec/root6/include/root/Math/Types.h:22:10: fatal error: 'VecCore/VecCore' file not found #include <VecCore/VecCore> ^~~~~~~~~~~~~~~~~ 1 error generated.
The problem seems to be that the VecCore headers are installed at a higher level in the directory structure than the other ROOT headers:
$ ls /opt/local/libexec/root6/include/ VecCore root
So even if the correct ROOT include directory
$ root-config --incdir /opt/local/libexec/root6/include/root
is in the include path, the VecCore headers that ROOT's own headers request cannot be found.
As a minimal workaround, making /opt/local/libexec/root6/include/root/VecCore
be a symlink to /opt/local/libexec/root6/include/VecCore
seems to fix the compilation errors.
Change History (3)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Cc: | cjones051073 removed |
---|---|
Keywords: | root6 veccore removed |
Owner: | set to cjones051073 |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | root6 with +veccore variant has include path problems → root6 @6.14.04 +veccore: fatal error: 'VecCore/VecCore' file not found |
---|
comment:3 Changed 3 years ago by cjones051073 (Chris Jones)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
It's been years since this ticket was filed. Is this still a problem with the current version of root6 and the +veccore variant?