Message: Linking Geant4 and ROOT Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Linking Geant4 and ROOT 

Forum: Installation and Configuration
Date: 26 Jan, 2015
From: Robert Schaefer <Robert Schaefer>

Dear G4 community,

I'm running some Geant4 examples and I want to fill and save some ROOT histograms. Therefore I correcty need to link Geant4 and ROOT. I'm using CMake 3.0.2 on Win7 and VisualStudio Express 2013.

Pressing "Configure" and "Generate" in CMake yields no errors. However the building in VS2013 shows several errors.

>>error LNK2001: unresolved external symbol "public: _cdecl TVersionCheck::TVersionCheck(int)" (??0TVersionCheck@@QEAA@H@Z)<<

The CMakeLists and FindROOT.cmake files are attached. Can someone help me out here? I can't figure out the error, except that it has to do something with the ROOT libraries linking.. so maybe I'm missing something here?

Also "examples/extended/analysis/AnaEx02" doesn't work.

Thanks & best regards, Robert


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

1 Question: Re: Linking Geant4 and ROOT   (Robert Schaefer - 27 Jan, 2015)
 Add Message Add Message
to: "Linking Geant4 and ROOT"

 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 ]