Makefile for Root

From: Michael Mitrovski <Michael.Mitrovski_at_cern.ch>
Date: Mon, 2 Jun 2008 17:05:34 +0200


Dear Rooters,

I wrote some classes to convert a txt file into TTrees. Compiling the classes under Scientific Linux SLC 4.4 x86_64 with gcc version 3.4.6 works fine. Trying to compile the classes under MacOSX Tiger (10.4) with gcc version 3.3 works without error message too. When starting a macro under MacOSX which uses compiled dynamic library above I receive the following error message:

root [0] .x Convert.C(1,1)
Error in <TUnixSystem::DynamicPathName>: libPhysics.dylib[.so | .sl | .dl | .a | .dll] does not exist in .:/Users/mmitrov/root/lib:/Users/ mmitrov/root/lib:/Users/mmitrov/root/lib: Error in <TUnixSystem::DynamicPathName>: /Users/mmitrov/Desktop/ Physik/UrQMD_Project/Event_by_Event_Fluctuation/UrQMD/TTree/lib/lib/ libTTree.dylib[.so | .sl | .dl | .a | .dll] does not exist in .:/ Users/mmitrov/root/lib:/Users/mmitrov/root/lib:/Users/mmitrov/root/lib: Read file : /Users/mmitrov/Desktop/Physik/UrQMD_Project/ Event_by_Event_Fluctuation/UrQMD/TTree/Output_UrQMD/ UrQMD_Output_File_1.txt
Outputfile: /Users/mmitrov/Desktop/Physik/UrQMD_Project/ Event_by_Event_Fluctuation/UrQMD/TTree/ROOT_Output/PbPb_158AGeV_1.root

Error: Symbol Event is not defined in current scope  Convert.C:45:
Error: Symbol Event is not defined in current scope  Convert.C:45:
Error: type Event not defined FILE:/Users/mmitrov/Desktop/Physik/ 
UrQMD_Project/Event_by_Event_Fluctuation/UrQMD/TTree/macros/./ Convert.C LINE:45
Warning: Automatic variable Event*event is allocated Convert.C:45: Error: Undeclared variable Event*event Convert.C:45: *** Interpreter error recovered ***

I think there is something wrong with my Makefile. You can find it attached. Thanks for the help in advance.

Best regards,

Michael

Received on Mon Jun 02 2008 - 17:05:59 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 02 2008 - 17:50:01 CEST