Message: Re: error in finding geant4 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: error in finding geant4 

Forum: Educational Applications
Re: Question error in finding geant4 (mirvana)
Date: 28 Aug, 2017
From: Tevfik Kaplanoglu <Tevfik Kaplanoglu>

Just open bash shell,

Type "source /g4install_dir/bin/"

All the variables will be set. After you can use cmake.

Or you can use ccmake/cmake-gui instead of cmake to input g4 directory.

On 28/08/2017 5:45 PM, "mirvana" <> wrote:

> *** Discussion title: Educational Applications
> hello, I installed geant4 10.3 running on a virtual machine but I am
> getting the following error after I type "cmake ../." to run a certain
> example, how can I solve it:
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Error at CMakeLists.txt:14 (find_package):
>   By not providing "FindGeant4.cmake" in CMAKE_MODULE_PATH this project has
>   asked CMake to find a package configuration file provided by "Geant4",
> but
>   CMake did not find one.
>   Could not find a package configuration file provided by "Geant4" with any
>   of the following names:
>     Geant4Config.cmake
>     geant4-config.cmake
>   Add the installation prefix of "Geant4" to CMAKE_PREFIX_PATH or set
>   "Geant4_DIR" to a directory containing one of the above files.  If
> "Geant4"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> -- Configuring incomplete, errors occurred! See also
> "/home/local1/Desktop/mywork/brachy_1/build/CMakeFiles/CMakeOutput.log
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or
> unsubscribe) at:

 [ MIME part of type text/html without a name stripped ]

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

1 None: Re: error in finding geant4   (mirvana - 01 Sep, 2017)
1 None: Re: error in finding geant4   (M.Tevfik Kaplanoglu - 01 Sep, 2017)
2 None: Re: error in finding geant4   (modest24 - 30 Jan, 2018)
 Add Message Add Message
to: "Re: error in finding geant4"

 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 ]