Project

General

Profile

Support #19498

building larwirecell with c2

Added by Lynn Garren over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/26/2018
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
-
Co-Assignees:
Duration:

Description

This is a list of problems encountered when building larwirecell with c2. The first problem is reported several times.

[ 81%] Building CXX object larwirecell/larwirecell/Components/CMakeFiles/WireCellLarsoft.dir/ChannelNoiseDB.cxx.o
In file included from /home/garren/scratch/larsoft/v06_72_00_rc0/srcs/larwirecell/larwirecell/Components/ChannelNoiseDB.cxx:42:
In file included from /home/garren/scratch/larsoft/v06_72_00_rc0/c2p/localProducts_larsoft_v06_72_00_rc0_c2_prof/wirecell/v0_6_2c/Linux64bit+3.10-2.17-c2-prof/include/WireCellUtil/NamedFactory.h:4:
/home/garren/scratch/larsoft/v06_72_00_rc0/c2p/localProducts_larsoft_v06_72_00_rc0_c2_prof/wirecell/v0_6_2c/Linux64bit+3.10-2.17-c2-prof/include/WireCellUtil/IFactory.h:32:29: error: 'WireCell::INamedFactory::create' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
        virtual Interface::pointer create(const std::string& name) = 0;
                                   ^
/home/garren/scratch/larsoft/v06_72_00_rc0/c2p/localProducts_larsoft_v06_72_00_rc0_c2_prof/wirecell/v0_6_2c/Linux64bit+3.10-2.17-c2-prof/include/WireCellUtil/IFactory.h:13:29: note: hidden overloaded virtual function 'WireCell::IFactory::create' declared here: different number of parameters (0 vs 1)
        virtual Interface::pointer create() = 0;
                                   ^

/home/garren/scratch/larsoft/v06_72_00_rc0/srcs/larwirecell/larwirecell/Tools/WCLS_tool.cc:86:26: error: private field 'm_prod' is not used [-Werror,-Wunused-private-field]
        art::EDProducer* m_prod;
                         ^

History

#1 Updated by Lynn Garren over 1 year ago

The second bug is fixed. The private data member m_prod is unused and has been commented out. The first bug may require a fix in wirecell.

#2 Updated by Lynn Garren over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Brett Viren
  • % Done changed from 0 to 100

Brett supplied a patch for wirecell which resolves this problem. Other problems may surface once larevt has been updated for c2.



Also available in: Atom PDF