Hi Steve It compiles fine on the rcas even though I guess it shouldn't. I commited a small change which I guess solves it, declaring BrVector3D const, but since my compiler don't care....... You can try updating and see if it works. The idea is that the tracks and hits returns a reference fro all BrVector3D, so they don't have to copy every time you get the position, but then it is constant so you don't accidentally mess it up, so if you see more like this please just make them const and commit the changes. Cheers Peter On Thu, 23 Aug 2001, Stephen J. Sanders wrote: > Hi, I just did a checkout of the full brat directory. I am unable to > compile it, however, > because of the following error: > > c++ -DPACKAGE=\"brat\" -DVERSION=\"2.0.31\" -DONL_unix=1 -I. -I. -I. > -fsigned-char -I/usr/X11/include -I/usr/local/include/root > -I../../../data/abc -I../../../data/params -I../../../util > -I../../../managers -I../../../modules/abc -I../../../modules/util > -I../../../db/abc -I../../../db/calib -I../../../db/geometry > -I../../../db/main -I../../../db/params -I../../../db/pass > -I../../../db/run -I../../../data/track -I../../../modules/track/abc > -I../../../modules/evdisp -I../../../data/raw -g -O1 > -Wp,-MD,.deps/BrTpcTrackModule.pp -c BrTpcTrackModule.cxx -fPIC -DPIC > -o BrTpcTrackModule.lo > BrTpcTrackModule.cxx: In method `void > BrTpcTrackModule::SelectBestTracks(BrEventNode *)': > BrTpcTrackModule.cxx:441: conversion from `const BrVector3D' to > `BrVector3D &' discards qualifiers > make[3]: *** [BrTpcTrackModule.lo] Error 1 > make[3]: Leaving directory `/home/sanders/brat/modules/track/tpc' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/sanders/brat/modules/track' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/sanders/brat/modules' > make: *** [all-recursive] Error 1 > > Could whoever is working on this module have a look and see what is the > matter? Thanks. > > ...steve > > -- :-) --------------------------------- )-: |Peter H L Christiansen aka PAN @ NBI | |EMAIL : pchristi@nbi.dk | |OFFICE : Tb1 @ NBI | |PHONE : 353 25269 | |SNAIL : Hans Tavsensgade 35, 4th | |PHONE : 35 349336 | :-D --------------------------------- \-:
This archive was generated by hypermail 2b30 : Thu Aug 23 2001 - 18:52:43 EDT