Hi Manoel, I'm using ROOT with Geant4 3.2 without any compilation problems. Here is what I have in my makefile: # name's value is the executable and setting to G4EXLIB := true build a library name := tigre G4TARGET := $(name) G4EXLIB := true .PHONY: all all: lib bin include $(G4INSTALL)/config/architecture.gmk # Set to -pg to turn profiling on, set to <null> to turn it off. # Use a command like "gprof $G4WORKDIR/bin/Linux-g++/TigreHits > profile.txt" to see results. PROFILE := ROOTCFLAGS = `root-config --cflags` CPPFLAGS += $(PROFILE) $(ROOTCFLAGS) LDFLAGS += $(PROFILE) `root-config --nonew --libs` # These are for my own libraries (not Geant4's): TMPDIR := tmp LIBDIR := lib BINDIR := bin CMDDIR := cmd # Standard G4 compilation process. include $(G4INSTALL)/config/binmake.gmk Hope this helps out. Regards, Mark
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET