star-fwd-software-l AT lists.bnl.gov
Subject: FWD Software
List archive
- From: Gavin Wilks <gwilks3 AT uic.edu>
- To: Barak Schmookler <baraks AT ucr.edu>
- Cc: star-fwd-software-l AT lists.bnl.gov
- Subject: Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId
- Date: Sat, 28 Sep 2024 11:55:29 -0500
Hello Barak,
Thank you for the quick response and this solution.
Gavin
On Sep 28, 2024, at 11:43, Barak Schmookler <baraks AT ucr.edu> wrote:Hi Gavin,We saw that as well when trying to compile on SDCC. Kumar helped me get around the issue by adjusting the order of the headers being included in StEventHelper.cxx.Daniel, if you think this is a good solution, I can make a PR into your dev branch.Best,BarakOn Sat, Sep 28, 2024 at 11:19 AM Gavin Wilks <gwilks3 AT uic.edu> wrote:Hello All,I believe someone mentioned having an issue with the parameter “kFwdVtxId” at our last meeting. I am unable to compile the code without receiving the following error:```.sl73_gcc485/include/StVertex.h: In member function 'virtual void StVertex::setFwdVertex()':.sl73_gcc485/include/StVertex.h:131:53: error: 'kFwdVtxId' was not declared in this scopevirtual void setFwdVertex() {SETBIT(mFlag,kFwdVtxId);}^/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86/gcc-4.8.5/root-5.34.38-llsepmmfuwlsucogcwbjiodncxanoudt/include/Rtypes.h:166:32: note: in definition of macro 'BIT'#define BIT(n) (1ULL << (n))^.sl73_gcc485/include/StVertex.h:131:40: note: in expansion of macro 'SETBIT'virtual void setFwdVertex() {SETBIT(mFlag,kFwdVtxId);}^.sl73_gcc485/include/StVertex.h: In member function 'bool StVertex::isFwdVtx() const':.sl73_gcc485/include/StVertex.h:139:65: error: 'kFwdVtxId' was not declared in this scopebool isFwdVtx() const {return TESTBIT(mFlag,kFwdVtxId);}^/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86/gcc-4.8.5/root-5.34.38-llsepmmfuwlsucogcwbjiodncxanoudt/include/Rtypes.h:166:32: note: in definition of macro 'BIT'#define BIT(n) (1ULL << (n))^.sl73_gcc485/include/StVertex.h:139:51: note: in expansion of macro 'TESTBIT'bool isFwdVtx() const {return TESTBIT(mFlag,kFwdVtxId);}^cons: *** [.sl73_gcc485/obj/StRoot/StEventUtilities/StEventHelper.o] Error 1cons: errors constructing .sl73_gcc485/obj/StRoot/StEventUtilities/StEventHelper.o```I have checked StRoot/StEvent/StEnumerations.h where this parameter is defined and I do not see any issue. Has anyone had this problem and found a solution to this?Best,Gavin
-
[[Star-fwd-software-l] ] Issue with kFwdVtxId,
Gavin Wilks, 09/28/2024
-
Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId,
Barak Schmookler, 09/28/2024
-
Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId,
Gavin Wilks, 09/28/2024
- Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId, David Kapukchyan, 09/29/2024
-
Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId,
Gavin Wilks, 09/28/2024
-
Re: [[Star-fwd-software-l] ] Issue with kFwdVtxId,
Barak Schmookler, 09/28/2024
Archive powered by MHonArc 2.6.24.