Adapting the Environment
After installing the runtime, the environment variables have to be set. You can either do this automatically, or manually.
Setting Important Environment Variables Manually
After (re)installation of the Silicon Software Runtime, at least one environment variable needs to be updated:
- SISODIR5
The variable SISODIR5 must point to the installation directory where the runtime is installed.
- Set SISODIR5 by using the following command:
export SISODIR5=/opt/SiliconSoftware/Runtime5.6.x
(in this example, /opt/SiliconSoftware/Runtime5.6.x is the directory where the runtime is installed; specify the path to the installation directory according to your file system.)
- Set the GenICam environment for the runtime:
export GENICAM_ROOT_V2_2=${SISODIR5}/genicam
export GENICAM_CACHE_V2_2=${SISODIR5}/genicam/cache
export GENICAM_LOG_CONFIG_V2_2=${SISODIR5}/genicam/log/config/SisoLogging.prop erties
- To locate the corresponding modules PATH and LD_LIBRARY_PATH, use the following commands:
export PATH=${SISODIR5}/bin:${PATH}
export LD_LIBRARY_PATH=${GENICAM_ROOT_V2_2}/bin/<PLATFORM>:${SISODIR5}/lib :${LD_LIBRARY_PATH}
<PLATFORM> is either “Linux32_i86” or “Linux64_x64”.
When using Ubuntu 14.04 LTS or Red Hat Enterprise Linux 7.1, you can make these entries for the current terminal in file
/etc/profile
or
~/.profile
Adapting the Environment Automatically
After installing the runtime, the environment variables have to be set. This can be done automatically. In this case, you simply have to start the process.
- To start the automatic setting of the necessary environment variables, enter
[prompt] source <INSTALLDIR>/setup-siso-env.sh
Upon pressing ENTER, all environment variables required for using the runtime are set to the appropriate values automatically.
- You can read which environment variables have been set, and which values are being used. To read the according file, enter
[prompt] cat <INSTALLDIR>/setup-siso-env.sh
Now, the content of the file is displayed in the shell.