[Halld-offline] problems compiling sim-recon with root6
Richard Jones
richard.t.jones at uconn.edu
Fri Oct 14 21:31:49 EDT 2016
Hello all,
Is anyone else having trouble building sim-recon against root 6? I have
installed root 6.06.08 using devtoolset-3 under Centos 6 as Nathan
recommended, using configure/make/make install. This worked ok. But then
when I go to build sim-recon against this new root 6 I am getting
consistent failures in hdview2. See below for the compiler errors. Anyone
else seeing this? The error message seems to indicate we should be using
quotes instead of angle <> in the #include string.
-Richard Jones
ROOTCLING [programs/Analysis/hdview2/trk_mainframe.h]
In file included from input_line_11:6:
In file included from
/home/halld/sim-recon/src/programs/Analysis/hdview2/trk_mainframe.h:16:
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/iostream:38:10:
error: 'bits/c++config.h' file not found with <angled> include; use
"quotes" instead
#include <bits/c++config.h>
^
In file included from input_line_11:6:
In file included from
/home/halld/sim-recon/src/programs/Analysis/hdview2/trk_mainframe.h:16:
In file included from
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/iostream:39:
In file included from
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/ostream:38:
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/ios:38:10:
error: 'iosfwd' file not found with <angled> include; use "quotes" instead
#include <iosfwd>
^
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/ios:39:10:
error: 'exception' file not found with <angled> include; use "quotes"
instead
#include <exception> // For ios_base::failure
^
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/ios:40:10:
error: 'bits/char_traits.h' file not found with <angled> include; use
"quotes" instead
#include <bits/char_traits.h> // For char_traits, streamoff, streamsize,
fpos
^
/opt/rh/devtoolset-3/root/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/ios:41:10:
error: 'bits/localefwd.h' file not found with <angled> include; use
"quotes" instead
#include <bits/localefwd.h> // For class locale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20161014/b383b9ad/attachment.html>
More information about the Halld-offline
mailing list