source: trunk/Documentation/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch10s06.html@ 902

Last change on this file since 902 was 901, checked in by garnier, 17 years ago

Add Geant4 Documentation at 8.12.2008

File size: 3.9 KB
Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>FAQ.6.  Visualization</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="ch10.html" title="Chapter FAQ.  Frequentry Asked Questions"><link rel="prev" href="ch10s05.html" title="FAQ.5.  Physics and cuts"><link rel="next" href="ch10s07.html" title="FAQ.7.  User Support Policy"><script language="JavaScript">
2function 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">FAQ.6. 
9Visualization
10</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch10s05.html"><img src="AllResources/IconsGIF/prev.gif" alt="Prev"></a> </td><th width="60%" align="center">Chapter FAQ. 
11Frequentry Asked Questions
12</th><td width="20%" align="right"> <a accesskey="n" href="ch10s07.html"><img src="AllResources/IconsGIF/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qanda.Vis"></a>FAQ.6. 
13Visualization
14</h2></div></div></div><div class="qandaset"><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="qanda.Vis.NoVisAppr"></a><a name="id554913"></a><b>Q:</b></td><td align="left" valign="top"><p>
15 I have set G4VIS... environmental variables but visualization does not
16 appear to be enabled.
17</p></td></tr><tr class="answer"><td align="left" valign="top"><b>A:</b></td><td align="left" valign="top"><p>
18 This might be because you set the environment variables *after* already
19 compiling. The environment variables control C-pre-processor macros of
20 the same name and therefore influence what code gets compiled. It is
21 suggested to proceed with the following manual procedure to correct the
22 current installation:
23
24 </p><div class="itemizedlist"><code class="literal">G4VIS_BUILD_[name]_DRIVER</code><code class="literal">G4VIS_USE_[name]</code><div class="informalexample"><pre class="programlisting">
25 cd $G4INSTALL/source/visualization
26 gmake clean
27 gmake
28 cd $G4INSTALL/source/interfaces
29 gmake clean
30 gmake
31 cd $G4INSTALL/source
32 gmake libmap
33 setenv G4WORKDIR [your working directory] (or export)
34 cd [your application directory]
35 gmake clean
36 gmake
37 </pre></div><ul type="disc" compact><li><p>
38 Configure the environment according to the installation making sure
39 to -unset- the <code class="literal">G4WORKDIR</code> environment variable,
40 if set.
41 </p></li></ul></div><p>
42
43</p></td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch10s05.html"><img src="AllResources/IconsGIF/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch10.html"><img src="AllResources/IconsGIF/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch10s07.html"><img src="AllResources/IconsGIF/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">FAQ.5. 
44Physics and cuts
45 </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"> FAQ.7. 
46User Support Policy
47</td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.