|Message: Re: Installation and example B1||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Tue, 01 Dec 2015 09:06:40 GMT, Denis wrote: > I have been struggling to get geant to work for the past week or so and > I am hoping someone here can point to my errors. I have been following > the instructions on this site for installing geant through the cmake gui > to the letter. I am using the latest files available on the geant web > page. I am using visual studio 2015 as my compiler. I am using windows > 10. I'm going to start with the error I'm getting when I try to execute > B1, then I will describe how I installed geant. I hope someone will see > where I screwed up. Thanks in advance. > > When I run exampleB1.exe I get the following error: > The program can't start because XXX.dll is missing from your computer. > Try reinstalling the program to fix this problem. > Where XXX stands for G4GMocren, G4RayTracer, G4Tree, and G4visHepRep. > The error repeats for each missing dll file. > > I can only assume this means the program is looking in the wrong place > for the dll files, but I cannot figure out where it's looking. So next I > will describe how I installed geant. For the most part it is identical > to the installation instructions on the geant site. So I will point out > the important differences. > > First, I installed geant into a folder I named GEANT4 on my desktop. So > all file locations can can be known as > C:/..../desktop/GEANT4 > As far as the instructions are concerned, everything works perfectly up > until I attempt to build example B1. When I set the path directory, I do > exactly as instructed > C:/.../Desktop/GEANT4/geant4_10_01_p02-install/lib/Geant4-10.1.2 > > Now here is where I deviate from the instructions. The geant source > package does not come with the precompiled libraries. So when I try to > make B1, cmake gives me an error saying it cannot find a particular > library in my install folder. So I take the precompiled libraries I > downloaded from the web page and place them into > ..../geant4_10_01_p02-install. Before I made these additions this folder > did not have an include the folder, the lib folder had zero .lib files, > and the bin folder had zero G4 dll files. After I do this, cmake runs > without a hitch. But the executable it creates gives me the error I > described above. Where have I gone wrong? Or at the very least, where is > B1 trying to look for these dll files? I have also tried building B1 > using debug mode as well. It still did not work. >
DLLs will be searched for under a sequence of standard locations. It should be sufficient to add the directory holding the Geant4 DLLs to the Windows