Message: Error when compiling example B1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Error when compiling example B1 

Forum: Installation and Configuration
Date: 10 Jun, 2013
From: Isaiah Gray <Isaiah Gray>

Hello,

I am trying to run example B1 on Scientific Linux 6.4. When I run Cmake with the source path .../geant4-install/lib/Geant4-9.6.2, I get an error

"...geant4-install/lib/ligG4Tree.so: could not read symbols: File in wrong format".

There is also a libG4tree.a file in the subfolder Linux-g++. I figured maybe that was the right file, so I tried linking to it in the cmake command. Then I get the error:

"include called with wrong number of arguments. Include only takes one file".

In either case I cannot get any example to build. Has anyone else had this problem? .so is a dynamic library and .a is a static library, as far as I know, so I might have to build Geant4 specifically telling it to use one of the other.

 Add Message Add Message
to: "Error when compiling example B1"

 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 ]