| 1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>6. Step-by-Step Installation Guides</title><link rel="stylesheet" href="../xml/XSLCustomizationLayer/G4HTMLStylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.1"><link rel="start" href="index.html" title="Geant4 User's Guide for Application Developers"><link rel="up" href="apa.html" title="Appendix . Appendix"><link rel="prev" href="apas05.html" title="5. Makefiles and Environment Variables"><link rel="next" href="apas07.html" title="7. Development and debug tools"><script language="JavaScript">
|
|---|
| 2 | function remote_win(fName)
|
|---|
| 3 | {
|
|---|
| 4 | var url = "AllResources/Detector/geometry.src/" + fName;
|
|---|
| 5 | RemoteWin=window.open(url,"","resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=520,height=520")
|
|---|
| 6 | RemoteWin.creator=self
|
|---|
| 7 | }
|
|---|
| 8 | </script></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">6.
|
|---|
| 9 | Step-by-Step Installation Guides
|
|---|
| 10 | </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apas05.html"><img src="AllResources/IconsGIF/prev.gif" alt="Prev"></a> </td><th width="60%" align="center">Appendix .
|
|---|
| 11 | Appendix
|
|---|
| 12 | </th><td width="20%" align="right"> <a accesskey="n" href="apas07.html"><img src="AllResources/IconsGIF/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect.StepGuides"></a>6.
|
|---|
| 13 | Step-by-Step Installation Guides
|
|---|
| 14 | </h2></div></div></div><p>
|
|---|
| 15 | You can find below some useful pages collecting instructions on how to
|
|---|
| 16 | install Geant4 in a detailed step-by-step tutorial:
|
|---|
| 17 |
|
|---|
| 18 | </p><div class="itemizedlist"><ul type="disc" compact><li><p>
|
|---|
| 19 | <a href="http://geant4.slac.stanford.edu/tutorial/installation/" target="_top">
|
|---|
| 20 | Step by step Installation Guides</a>.
|
|---|
| 21 | </p></li></ul></div><p>
|
|---|
| 22 | </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sect.BldMSV"></a>6.1.
|
|---|
| 23 | Building on MS Visual C++
|
|---|
| 24 | </h3></div></div></div><p>
|
|---|
| 25 | Geant4 can be compiled with the C++ compiler of MS Visual Studio
|
|---|
| 26 | C++ and the
|
|---|
| 27 | <a href="http://cygwin.com/" target="_top">
|
|---|
| 28 | Cygwin toolset</a>.
|
|---|
| 29 | Detailed instructions are given in the Installation
|
|---|
| 30 | manual. As the build system relies on <code class="literal">make</code> and other
|
|---|
| 31 | Unix tools using only the compiler of MS Visual Studio, the section on
|
|---|
| 32 | </p><p>
|
|---|
| 33 | <a href="apas05.html" title="5.
|
|---|
| 34 | Makefiles and Environment Variables
|
|---|
| 35 | ">Section 5</a> Makefile and environment variables
|
|---|
| 36 | applies also for building with MS Visual C++.
|
|---|
| 37 | </p><p>
|
|---|
| 38 | We do not support compilation directly under MS Visual Studio,
|
|---|
| 39 | i.e. we do not provide workspace files <code class="literal">(.dsw)</code> or project
|
|---|
| 40 | files (<code class="literal">.dsp</code>).
|
|---|
| 41 | </p><p>
|
|---|
| 42 | However the executables created are debuggable using the
|
|---|
| 43 | debugger of MS Visual Studio. You may have to help the debugger
|
|---|
| 44 | finding the path to source files the first time you debug a given
|
|---|
| 45 | executable.
|
|---|
| 46 | </p><p>
|
|---|
| 47 | Listed below are some useful pages with instructions on how to start with the
|
|---|
| 48 | installation of CygWin, and also tips for creating a project under Visual
|
|---|
| 49 | Studio:
|
|---|
| 50 |
|
|---|
| 51 | </p><div class="itemizedlist"><ul type="disc" compact><li><p>
|
|---|
| 52 | <a href="http://www.lcsim.org/docs/gettingstarted/Cygwin/" target="_top">
|
|---|
| 53 | Getting started with Cygwin</a>.
|
|---|
| 54 | </p></li><li><p>
|
|---|
| 55 | <a href="http://cern.ch/geant4/support/windows_note.shtml" target="_top">
|
|---|
| 56 | Cygwin Installation Notes</a>.
|
|---|
| 57 | </p></li><li><p>
|
|---|
| 58 | <a href="http://www.lcsim.org/docs/gettingstarted/geant4msvc++/net2005/index.htm" target="_top">
|
|---|
| 59 | Building a MSVC++ Visual Studio 2005 Geant4 project</a>.
|
|---|
| 60 | </p></li></ul></div><p>
|
|---|
| 61 | </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apas05.html"><img src="AllResources/IconsGIF/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="apa.html"><img src="AllResources/IconsGIF/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="apas07.html"><img src="AllResources/IconsGIF/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">5.
|
|---|
| 62 | Makefiles and Environment Variables
|
|---|
| 63 | </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="AllResources/IconsGIF/home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> 7.
|
|---|
| 64 | Development and debug tools
|
|---|
| 65 | </td></tr></table></div></body></html>
|
|---|