| 1 | <!-- ******************************************************** -->
|
|---|
| 2 | <!-- -->
|
|---|
| 3 | <!-- [History] -->
|
|---|
| 4 | <!-- 1st version created: Katsuya Amako, Dec-2006 -->
|
|---|
| 5 | <!-- -->
|
|---|
| 6 | <!-- ******************************************************** -->
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 | <!-- ********************* QandA Section ******************** -->
|
|---|
| 10 | <section id="qanda.Vis">
|
|---|
| 11 | <title>
|
|---|
| 12 | Visualization
|
|---|
| 13 | </title>
|
|---|
| 14 |
|
|---|
| 15 | <qandaset defaultlabel="qanda">
|
|---|
| 16 |
|
|---|
| 17 | <!-- ******* QandA Entry ******** -->
|
|---|
| 18 | <qandaentry id="qanda.Vis.NoVisAppr">
|
|---|
| 19 |
|
|---|
| 20 | <question><para>
|
|---|
| 21 | I have set G4VIS... environmental variables but visualization does not
|
|---|
| 22 | appear to be enabled.
|
|---|
| 23 | </para></question>
|
|---|
| 24 |
|
|---|
| 25 | <answer><para>
|
|---|
| 26 | This might be because you set the environment variables *after* already
|
|---|
| 27 | compiling. The environment variables control C-pre-processor macros of
|
|---|
| 28 | the same name and therefore influence what code gets compiled. It is
|
|---|
| 29 | suggested to proceed with the following manual procedure to correct the
|
|---|
| 30 | current installation:
|
|---|
| 31 |
|
|---|
| 32 | <itemizedlist spacing="compact">
|
|---|
| 33 | <listitem><para>
|
|---|
| 34 | Configure the environment according to the installation making sure
|
|---|
| 35 | to -unset- the <literal>G4WORKDIR</literal> environment variable,
|
|---|
| 36 | if set.
|
|---|
| 37 | </para></listitem>
|
|---|
| 38 | Verify and eventually set the environment variables of the
|
|---|
| 39 | visualization module [name] concerned (setenv or export both
|
|---|
| 40 | <literal>G4VIS_BUILD_[name]_DRIVER</literal> and
|
|---|
| 41 | <literal>G4VIS_USE_[name]</literal> variables according to the UNIX
|
|---|
| 42 | shell used), and then proceed as follows:
|
|---|
| 43 |
|
|---|
| 44 | <informalexample><programlisting>
|
|---|
| 45 | cd $G4INSTALL/source/visualization
|
|---|
| 46 | gmake clean
|
|---|
| 47 | gmake
|
|---|
| 48 | cd $G4INSTALL/source/interfaces
|
|---|
| 49 | gmake clean
|
|---|
| 50 | gmake
|
|---|
| 51 | cd $G4INSTALL/source
|
|---|
| 52 | gmake libmap
|
|---|
| 53 | setenv G4WORKDIR [your working directory] (or export)
|
|---|
| 54 | cd [your application directory]
|
|---|
| 55 | gmake clean
|
|---|
| 56 | gmake
|
|---|
| 57 | </programlisting></informalexample>
|
|---|
| 58 | </itemizedlist>
|
|---|
| 59 |
|
|---|
| 60 | </para></answer>
|
|---|
| 61 |
|
|---|
| 62 | </qandaentry>
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | </qandaset>
|
|---|
| 66 | </section>
|
|---|