Differences between revisions 7 and 8
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl Known:admin,read,write All:read #この行は編集しないでください。(たぶんできないけど) |
ANAROOT/Questions
ANAROOTに関して、困ったことやわからんことを書いておく。 やり方を知っている人は答えてあげてください。
Contents
ANAROOTコンパイルエラー(1)
コンパイルすると以下のようなエラーで怒られる。
make[4]: Entering directory `/home/kondo/exp/temp/anaroot/sources/Reconstruction/BigRIPS' rootcint -f anabrips_dict.cc -c -I. -I../../.. -Iinclude -I/usr/local/src/root/root_v5.30.00/include -I../../Core/include include/TArtBeam.h include/TArtBeamPara.h include/TArtBigRIPSParameters.h include/TArtCalibPID.h include/TArtDetMap.h include/TArtFocalPlane.h include/TArtFocalPlanePara.h include/TArtIC.h include/TArtICPara.h include/TArtOptMatrix.h include/TArtPID.h include/TArtPPAC.h include/TArtPPACPara.h include/TArtPlastic.h include/TArtPlasticPara.h include/TArtRIPS.h include/TArtRIPSPara.h include/TArtTOF.h include/TArtTOFPara.h include/segidlist.h anabrips_linkdef.h Error: cannot open file "TDOMParser.h" include/TArtICPara.h:6: Error: cannot open file "TXMLNode.h" include/TArtICPara.h:7: Error: cannot open file "TDOMParser.h" include/TArtPlasticPara.h:6: Error: cannot open file "TXMLNode.h" include/TArtPlasticPara.h:7: Warning: Error occurred during reading source files Warning: Error occurred during dictionary source generation !!!Removing anabrips_dict.cc anabrips_dict.h !!! Error: rootcint: error loading headers... make[4]: *** [anabrips_dict.cc] Error 1
anaroot/sources/Reconstruction/BigRIPS/Makefile.amに
CXXFLAGS += -I$(ROOTSYS)/io/xmlparser/inc
を追加した後autogen.shなどの標準のINSTALLの手順を踏めばOK。