Message: Re: Issues Running Example B1 - geant4_10_02, Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Issues Running Example B1 - geant4_10_02, Windows 

Forum: Documentation and Examples
Re: Question Issues Running Example B1 - geant4_10_02, Windows (Elaine Rhoades)
Date: 29 Jun, 2017
From: Ben Morgan <Ben Morgan>

On Wed, 21 Jun 2017 14:59:37 GMT, Elaine Rhoades wrote:
> I'm trying to run example B1 as discussed in the installation guide
> , using the instructions in section
> I added CMake to my path using the command 
>    set PATH="C:\Program Files\CMake\bin"
> I was able to make a directory to build the example in, but when I tried to execute the command 
>    cmake -DGeant4_DIR=%HOMEPATH%\geant4_10_03-install\lib\Geant4-10.3.0 %HOMEPATH%\Geant4\B1
> (with the paths for my computer) to build the example using CMake, I got the error
>    'cmake' is not recognized as an internal or external command, operable program, or batch file
> even though I made sure I'd added CMake to my path.
> Does anyone have any guidance on how I can fix this issue? Any help is
> appreciated.

In the session you're trying to run cmake in, can you check the value of PATH by running echo %PATH% please? If the CMake entry is there, double check that cmake.exe really is in that location. If it is, try starting a new session and do set PATH=%PATH%;C:\Program Files\CMake\bin, see if cmake runs and if not repeat the above steps - post the value of %PATH% here, plus the list of files present in C:\Program Files\CMake\bin.

 Add Message Add Message
to: "Re: Issues Running Example B1 - geant4_10_02, Windows"

 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 ]