[Halld-offline] problems compiling sim-recon with root6
Nathan Sparks
nsparks at jlab.org
Fri Oct 14 22:00:00 EDT 2016
Hi Richard,
My build of sim-recon succeeded using the same version of ROOT: 6.06.08.
I do see a scary warning involving the same code that you are failing on:
ROOTCLING [programs/Analysis/hdview2/trk_mainframe.h]
ROOTCLING [programs/Analysis/hdview2/hdv_endviewBframe.h]
[Error in <CheckDefinition>: [[Missing definition for class hdv_mainframe, please #include its header in the header of trk_mainframe
[ROOTCLING [programs/Analysis/hdview2/hdv_fulllistframe.h]
but it finishes building after that. I suspect there really is a problem there, though.
Maybe the difference in behavior comes in because we configured ROOT with different options.
Did you enable any non-default options?
-Nathan
> On Oct 14, 2016, at 9:31 PM, Richard Jones <richard.t.jones at uconn.edu> wrote:
>
> 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
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
More information about the Halld-offline
mailing list