<div dir="ltr">Paul and all,<div><br></div><div>This fix worked for me, thanks! I also had to download and build the latest release from AmpTools (0.9.2) before it would build against root 6.</div><div><br></div><div>-Richard Jones</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 15, 2016 at 12:49 AM, Paul Mattione <span dir="ltr"><<a href="mailto:pmatt@jlab.org" target="_blank">pmatt@jlab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, I’ve seen this. I think if you do the below at the end of your environment setup, it should work (I think Sean may have come up with it?):<br>
<br>
# quick fix for rootcling compilation<br>
unset CPLUS_INCLUDE_PATH<br>
<span class="HOEnZb"><font color="#888888"><br>
- Paul<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Oct 14, 2016, at 10:00 PM, Nathan Sparks <<a href="mailto:nsparks@jlab.org">nsparks@jlab.org</a>> wrote:<br>
<br>
> Hi Richard,<br>
><br>
> My build of sim-recon succeeded using the same version of ROOT: 6.06.08.<br>
><br>
> I do see a scary warning involving the same code that you are failing on:<br>
><br>
> ROOTCLING [programs/Analysis/hdview2/<wbr>trk_mainframe.h]<br>
> ROOTCLING [programs/Analysis/hdview2/<wbr>hdv_endviewBframe.h]<br>
> [Error in <CheckDefinition>: [[Missing definition for class hdv_mainframe, please #include its header in the header of trk_mainframe<br>
> [ROOTCLING [programs/Analysis/hdview2/<wbr>hdv_fulllistframe.h]<br>
><br>
> but it finishes building after that. I suspect there really is a problem there, though.<br>
><br>
> Maybe the difference in behavior comes in because we configured ROOT with different options.<br>
> Did you enable any non-default options?<br>
><br>
> -Nathan<br>
>> On Oct 14, 2016, at 9:31 PM, Richard Jones <<a href="mailto:richard.t.jones@uconn.edu">richard.t.jones@uconn.edu</a>> wrote:<br>
>><br>
>> Hello all,<br>
>><br>
>> 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.<br>
>><br>
>> -Richard Jones<br>
>><br>
>> ROOTCLING [programs/Analysis/hdview2/<wbr>trk_mainframe.h]<br>
>> In file included from input_line_11:6:<br>
>> In file included from /home/halld/sim-recon/src/<wbr>programs/Analysis/hdview2/trk_<wbr>mainframe.h:16:<br>
>> /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/iostream:38:10: error: 'bits/c++config.h' file not found with <angled> include; use "quotes" instead<br>
>> #include <bits/c++config.h><br>
>> ^<br>
>> In file included from input_line_11:6:<br>
>> In file included from /home/halld/sim-recon/src/<wbr>programs/Analysis/hdview2/trk_<wbr>mainframe.h:16:<br>
>> In file included from /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/iostream:39:<br>
>> In file included from /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/ostream:38:<br>
>> /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/ios:38:10: error: 'iosfwd' file not found with <angled> include; use "quotes" instead<br>
>> #include <iosfwd><br>
>> ^<br>
>> /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/ios:39:10: error: 'exception' file not found with <angled> include; use "quotes" instead<br>
>> #include <exception> // For ios_base::failure<br>
>> ^<br>
>> /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/ios:40:10: error: 'bits/char_traits.h' file not found with <angled> include; use "quotes" instead<br>
>> #include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos<br>
>> ^<br>
>> /opt/rh/devtoolset-3/root/usr/<wbr>lib/gcc/x86_64-redhat-linux/4.<wbr>9.2/../../../../include/c++/4.<wbr>9.2/ios:41:10: error: 'bits/localefwd.h' file not found with <angled> include; use "quotes" instead<br>
>> #include <bits/localefwd.h> // For class locale<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Halld-offline mailing list<br>
>> <a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a><br>
>> <a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank">https://mailman.jlab.org/<wbr>mailman/listinfo/halld-offline</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Halld-offline mailing list<br>
> <a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a><br>
> <a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank">https://mailman.jlab.org/<wbr>mailman/listinfo/halld-offline</a><br>
<br>
</div></div></blockquote></div><br></div>