Project

General

Profile

Bug #952

MAUS_0.2 build error

Added by Kafka, Gene over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build System
Target version:
Start date:
23 March 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

In build_data_structure, include:

data_items = filter(lambda x: x[-7:] != '-inl.hh', data_items)


Related issues

Has duplicate MAUS - Bug #960: Version 2.0 build error?RejectedRogers, Chris27 March 2012

Actions
#1

Updated by Rogers, Chris over 9 years ago

The bug was that Hit-inl.hh was included in the build - when only Hit.hh should be included. Hit-inl.hh includes some definitions needed for the templatisation, Hit.hh has the declarations. So Hit.hh needs to be included first (and Hit-inl.hh shouldn't be included at all). Produces output like:

['rootcint', '-f', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure//MausDataStructure.cc', '-c', '-I/home/snopok/maus-0.2.0/third_party/install/include', '-I/home/snopok/maus-0.2.0/third_party/install/include/python2.7', '-I/home/snopok/maus-0.2.0/third_party/install/include/root', '-I/home/snopok/maus-0.2.0/src/legacy', '-I/home/snopok/maus-0.2.0/src/common_cpp', '-I', '-I/home/snopok/maus-0.2.0/third_party/build/root_v5.30.03/include', '-I/home/snopok/maus-0.2.0/third_party/build/geant4.9.2.p04/include/', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Primary.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/ThreeVector.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/SciFiChannelId.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/EMRSpillData.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/MCEvent.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Scalars.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/VirtualHit.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/SpecialVirtualChannelId.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/DAQData.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/TOFChannelId.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Spill.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Step.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Track.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/ReconEvent.hh', '/home/snopok/maus-0.2.0/src/common_cpp/DataStructure/LinkDef.hh']
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:22:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:28:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:36:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:60:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:68:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:73:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:78:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:83:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:88:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:93:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:98:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:103:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:108:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:113:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:118:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:123:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:128:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:133:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:138:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:143:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:148:
Error: Template class Hit not defined /home/snopok/maus-0.2.0/src/common_cpp/DataStructure/Hit-inl.hh:153:
#2

Updated by Rogers, Chris over 9 years ago

  • Category set to Build System
  • Status changed from Open to Closed
  • Target version set to Future MAUS release
  • % Done changed from 0 to 100

Fixed in trunk

#3

Updated by Rogers, Chris over 9 years ago

  • Target version changed from Future MAUS release to MAUS-v0.2.1

Also available in: Atom PDF