| Message: geant4 and GUIRoot compilation error on MacOS X 10.5 | Not Logged In (login) |
|
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: | Outline Depth: | Add message: |
|
to: |