Message: Re: Building Geant4 x64 on Windows 8.1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Building Geant4 x64 on Windows 8.1 

Forum: Installation and Configuration
Re: Question Building Geant4 x64 on Windows 8.1 (Alexey Solovyev)
Re: None Re: Building Geant4 x64 on Windows 8.1 (Ivan Brilkov)
Date: 11 Jun, 2014
From: Grigoriy Dedenko <Grigoriy Dedenko>

I find solution for this problem:
1. Generate .sln file with Cmake-Gui for Visual Studio Win64
2. Open this project in Visual Studio 12 and try to build it (INSTALL)
3. After complete build you see this errors.
4. Close Visual Studio
5. Find in directory c:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
   file Microsoft.CppCommon.targets and copy it to any directory,
   for example C:\TEMP
6. Edit in directory c:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
   file Microsoft.CppCommon.targets as Administrator
7. remove from this file this strings

<CustomBuild
      Sources                     ="@(CustomBuild)"
      BuildSuffix                 ="$(_BuildSuffix)"

      TrackerLogDirectory         ="%(CustomBuild.TrackerLogDirectory)"
      MinimalRebuildFromTracking  ="%(CustomBuild.MinimalRebuildFromTracking)"

      TLogReadFiles               ="@(CustomBuildTLogReadFiles)"
      TLogWriteFiles              ="@(CustomBuildTLogWriteFiles)"
      TrackFileAccess             ="$(TrackFileAccess)"
      ToolArchitecture            ="$(CustomBuildToolArchitecture)"
      TrackerFrameworkPath        ="$(CustomBuildTrackerFrameworkPath)"
      TrackerSdkPath              ="$(CustomBuildTrackerSdkPath)"

      AcceptableNonZeroExitCodes  ="%(CustomBuild.AcceptableNonZeroExitCodes)"
      >
    </CustomBuild>

8. Save this file
9. Open Visual Studio and build project Geant4 again. DO NOT REBUILD!!! 
   Only Build. I use the russian version.
10. Your Geant4 win64 has sucsessfully build! ))))
11. Enjoy :)
12. Close Visual studio and restore original file Microsoft.CppCommon.targets
13. More information this link
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a813616d-5fa4-481d-934f-cea6126d2f62/error-msb6006-cmdexe-exited-with-code-3?forum=vcgeneral
14. My Geant4 on Windows 8.1 with Vusual Studio 12 Win64 sucssefully build by this way :)
15. Enjoy

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

1 Ok: Re: Building Geant4 x64 on Windows 8.1   (Alexey Solovyev - 12 Jun, 2014)
(_ None: Re: Building Geant4 x64 on Windows 8.1   (Grigoriy Dedenko - 16 Jun, 2014)
(_ Question: Re: Building Geant4 x64 on Windows 8.1   (Adam Stavola - 13 Jul, 2015)
(_ None: Re: Building Geant4 x64 on Windows 8.1   (Grigoriy Dedenko - 14 Jul, 2015)
 Add Message Add Message
to: "Re: Building Geant4 x64 on Windows 8.1"

 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 ]