Message: Re: Dificulty in building example B1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Dificulty in building example B1 

Forum: Installation and Configuration
Re: Question Dificulty in building example B1 (Robert Nnaemeka)
Date: 03 Nov, 2016
From: Ben Morgan <Ben Morgan>

On Thu, 03 Nov 2016 00:10:43 GMT, Robert Nnaemeka wrote:
> Good day all. I successfully installed Geant4 in window 10 using Microsoft visual studio developer command prompt. But after successfully building example B1 and the executable output exampleB1.exe I get the errors telling me I do not have some Geant4 dll files in my computer and asking me to reinstall it. I decided to add the path to the Geant4 dll files directory to the environmental. After doing this, I could no longer even build the example B1. It happens that when I runs
>  "cmake --build . --config RelWithDebInfo" error is displayed saying that it cannot see some included files the error output is shown below. How can I solve it?

Could you provide a little more detail on the sequence of operations please? What changes to the environment did you make, and did exampleB1 run (i.e. no rebuild) after this change?

On the failing build of exampleB1, does the CMakeCache.txt file in the build directory contain references to Geant4, and specifically paths to where you installed it?

Can you run the build again with higher verbosity, i.e. something like:

cmake --build . --config ReleWithDebInfo -- /verbosity:diagnostic

and check the output for the actual compile commands issued, in particular whether there are include paths (/I path)that refer to your Geant4 installation.

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

1 More: Re: Dificulty in building example B1   (Robert Nnaemeka - 03 Nov, 2016)
(_ More: Re: Dificulty in building example B1   (Robert Nnaemeka - 03 Nov, 2016)
 Add Message Add Message
to: "Re: Dificulty in building 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 ]