Message: geant4 and GUIRoot compilation error on MacOS X 10.5 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None geant4 and GUIRoot compilation error on MacOS X 10.5 

Keywords: Cristian Bungau
Forum: (Graphical) User Interfaces
Date: 19 Apr, 2008
From: Cristian Bungau <Christian.Bungau@manchester.ac.uk>

Hi,

When I compile my code (using Geant4.9.1.p01 and root 5.19) (on MacOSX 10.5) I get the following error:

Linking exampleN03 ...
Undefined symbols:
  "non-virtual thunk to G4RootTextFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::Class()", referenced from:
      G4RootMainFrame::IsA() const in libG4UIROOT.a(G4RootMainFrame.o)
  "ROOT::GenerateInitInstance(G4RootMainFrame const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in libG4UIROOT.a(G4RootMainFrame.o)
  "non-virtual thunk to G4RootMainFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "ROOT::GenerateInitInstance(G4RootTextFrame const*)", referenced from:
      __static_initialization_and_destruction_0(int, int)in libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "G4RootTextFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "non-virtual thunk to G4RootTextFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootTextFrame::Streamer(TBuffer&)", referenced from:
      vtable for G4RootTextFramein libG4UIROOT.a(G4RootTextFrame.o)
  "G4RootMainFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "non-virtual thunk to G4RootMainFrame::ShowMembers(TMemberInspector&, char*)", referenced from:
      vtable for G4RootMainFramein libG4UIROOT.a(G4RootMainFrame.o)
  "G4RootTextFrame::Class()", referenced from:
      G4RootTextFrame::IsA() const in libG4UIROOT.a(G4RootTextFrame.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Users/cristian/geant4/bin/Darwin-g++/DarkMatter] Error 1

I would be very grateful if you could please let me know how to solve this.

Thanks,

Cristian

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "geant4 and GUIRoot compilation error on MacOS X 10.5"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]