You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No troubles if using ROOT 6, but if using ROOT 5 I get these errors at the end of make:
/afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f5c): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f6b): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a6498): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6e91): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6ea0): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a7235): undefined reference to `TVector3::TVector3()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a74d2): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TVector3::operator[](int)': (.text._ZN8TVector3ixEi[_ZN8TVector3ixEi]+0x1c): undefined reference to `TVector3::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::Vect() const': (.text._ZNK14TLorentzVector4VectEv[_ZNK14TLorentzVector4VectEv]+0x23): undefined reference to `TVector3::TVector3(TVector3 const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::operator[](int)': (.text._ZN14TLorentzVectorixEi[_ZN14TLorentzVectorixEi]+0x1c): undefined reference to `TLorentzVector::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o):(.data.rel.ro._ZTV15TApplicationImp[_ZTV15TApplicationImp]+0x78): undefined reference to `TApplicationImp::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::operator=(TObject const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `gCINTMutex' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(), TVirtualIsAProxy*, int, int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `vtable for TLockGuard' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::RegisterModule()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::DefineBehavior(void*, void*)' collect2: error: ld returned 1 exit status make[2]: *** [app/nuismin] Error 1 make[1]: *** [app/CMakeFiles/nuismin.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
sjdolan
changed the title
CAn't build against NEUT built against ROOT 5
Can't build against NEUT built against ROOT 5
Jul 3, 2023
No troubles if using ROOT 6, but if using ROOT 5 I get these errors at the end of make:
/afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f5c): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a5f6b): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_colinear': (.text+0x3a6498): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6e91): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a6ea0): undefined reference to `TLorentzVector::TLorentzVector()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a7235): undefined reference to `TVector3::TVector3()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `radcorr_toy': (.text+0x3a74d2): undefined reference to `TLorentzVector::TLorentzVector(TVector3 const&, double)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TVector3::operator[](int)': (.text._ZN8TVector3ixEi[_ZN8TVector3ixEi]+0x1c): undefined reference to `TVector3::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::Vect() const': (.text._ZNK14TLorentzVector4VectEv[_ZNK14TLorentzVector4VectEv]+0x23): undefined reference to `TVector3::TVector3(TVector3 const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o): In function `TLorentzVector::operator[](int)': (.text._ZN14TLorentzVectorixEi[_ZN14TLorentzVectorixEi]+0x1c): undefined reference to `TLorentzVector::operator()(int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUT.a(neut.o):(.data.rel.ro._ZTV15TApplicationImp[_ZTV15TApplicationImp]+0x78): undefined reference to `TApplicationImp::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::operator=(TObject const&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `gCINTMutex' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, void (*)(), TVirtualIsAProxy*, int, int)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `vtable for TLockGuard' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::RegisterModule()' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `TObject::ShowMembers(TMemberInspector&)' /afs/cern.ch/work/s/sdolan/public/software/NEUT/neutdevel/neut/build/Linux/lib/libNEUTClass.so: undefined reference to `ROOT::DefineBehavior(void*, void*)' collect2: error: ld returned 1 exit status make[2]: *** [app/nuismin] Error 1 make[1]: *** [app/CMakeFiles/nuismin.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: