|Message: MS Visual C++ 2008 EE configuration -- anyone done?||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've spent the last few days trying to adapt Norman Graf's instructions for installing and using G4 in the MSVC++ environment ( http://www.lcsim.org/docs/gettingstarted/geant4msvc++/net2003/index.htm ). His instructions are for G4.7 and MSVC++ 2005 Express Edition, and I'd like to run G4.9 and MSVC++ 2008 EE.
With a little bit of effort, I've managed to solve most of the problems I've run into, but I'm losing patience with the effort. I've got a decent (ssh into a mac) alternative, so I'm not planning on continuing the effort unless it turns out that there's some easy fixes to my problems.
If anyone's managed to set this up, could you please let me know? Mail jbrodskyATharvard.edu or respond to this post. I'd love to hear what you did.
Solved problems (for reference for anyone else's attempts):
*MSVC++ 2008 will not accept certain syntax in the G4.7 source (e.g. G4.7 omits CLHEP:: where G4.9 has it)
*Norman Graf's files are not set up for G4.9. His zipped include directory contains G4.7 files, not G4.9, and his solution and project files reference the source code of G4.7, not G4.9. To fix this, you need to create new projects and update source files associated with the existing projects to reflect what's available in G4.9
*The setup Norman Graf gives for running example N03 is likewise good for G4.7, but not G4.9. The list of libraries needs to be changed, both for the G4 and CLHEP libraries.
(By the way, if you're reading this, Norman, thanks so much for your instructions and files--they provided a very clear start for me.)
*Examples N01,2,4,&5 will compile, but give runtime errors. e.g. "geant Unhandled exception at in N05.exe: Access violation reading location 0xfd00006c."
* Example N03 will run, but will not produce visualizations.
* With the G4UI_BUILD_WIN32_SESSION preprocessor flag set, the G4uibasic project will not compile.
* With the G4VIS_BUILD_OPENGL_DRIVER preprocessor flag set, the G4OpenGL project will not compile.
Thanks for any and all help. I'm happy to give full details on any problem (solved or unsolved) to any askers.