GRIFFINCollaboration / GRSISort

A lean, mean, sorting machine.
MIT License
22 stars 54 forks source link

Error with undefined references after compiling #1443

Closed JoshSharpe19 closed 2 months ago

JoshSharpe19 commented 4 months ago

OS:Ubuntu 22.04 ROOT Version: v6-32-02 GEANT4 Version : v10.7.4

After successfully compiling GRSISort via the make command and sourcing the thisgrsi.sh script attempting to compile both GRSIData and NTuple2EventTree with make both result in the same error.

usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTFormat.so: undefined reference to `TGRSIOptions::fUserSettings'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTLoops.so: undefined reference to `TGRSIOptions::WriteToFile(TFile*)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTLoops.so: undefined reference to `TGRSIint::instance(int, char**, void*, int, bool, char const*)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTLoops.so: undefined reference to `full_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTFormat.so: undefined reference to `TGRSIOptions::fAnalysisOptions'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTFormat.so: undefined reference to `TAnalysisOptions::WriteToFile(TFile*)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTFormat.so: undefined reference to `TGRSIOptions::Get(int, char**)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTLoops.so: undefined reference to `TGRSIint::OpenRootFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)'
/usr/bin/ld: /home/blackcat/Documents/GRSI/GRSISort/lib/libTLoops.so: undefined reference to `gFragment'
VinzenzBildstein commented 2 months ago

Is this still an issue with the newest version of GRSISort and GRSIData?