|Message: Issue about configuring Geant4 directories on Windows 7||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)|
I am having problems at configuring and installing Geant4 on my Windows 7 64-bit OS. I tried to follow the tutorial on Geant4 website carefully. I put in the same folder/directory all the needed directories, meaning the Geant4 Source directory, the related Patch Release "Geant4.10.01.p02", all the datasets (that should be already part of the Geant4 package), CLHEP libraries (that should be such as well), Xerces-C++ libraries, and WIN32 OpenGL. I figured this was the right way to allow correct configuring/generating with CMake, and then compiling with Visual Studio. The CMake and Visual Studio versions that I am using are, respectively, CMake 3.3.0-rc3 and Visual Studio 12 2013.
The first time I tried to go through all the installation procedure, I was able to configure and generate Geant4 Source files, then to compile them with Visual Studio; but, when it came to build and then run ExampleB1 (as suggested in the Tutorial on your Website - I was using the terminal, cmd.exe), it gave me errors about some missing datasets (the directories G4EMLOW, PhotonEvaporation and G4NEUTRONXS).
At a second trial, I have been given errors by CMake not at configuring, but at generating. Even if I don't include ("tick" in CMake) CLHEP libraries, Qt, GEANT4_USE_GDML_ZLIB, generating gives the warning:
"WARNING: Target "G4persistency" requests linking to directory"
where the directory is the one that includes Xerces-C++ libraries. It also says:
"Target may link only to libraries. CMake is dropping the item."
This is repeated 5 times. Now, I feel the major problem is a lack of necessary directories, like headers associated to libraries (as the above error suggests me), but I can't figure out what that is and also whether they are correctly located in the same folder as the Geant4 Source directory.
When I also tried to include CHLEP libraries, CMake told me that it cannot find them. When I ticked Qt, it told me that version 4.x is needed, but I couldn't find a download for Qt 4.x anywhere on the Web (actually, I found a link to a page that no longer exists).
I hope my long explanation does not mislead, but instead help to explain what the issue is.
Thank you very much in advance for your help,
|Inline Depth:||Outline Depth:||Add message:|