The script also adds environment variables that are needed for the GenICam installation to operate properly. The environment variables added are :
GENICAM_ROOT_V3_0 = /opt/genicam_v3_0
GENICAM_CACHE_V3_0 =
/var/opt/genicam/xml/cache
GENICAM_LOG_CONFIG_V3_0 =
/opt/genicam_v3_0/log/config-unix
and
GIGEV_XML_DOWNLOAD = /usr/dalsa/GigeV
The new environment variables are visible to all subsequent login shells. After installation, for them to be visible, the current shell should be logged out and back in again. For the case of a GUI desktop, the user should log off and back in.
As a reminder, the installation script outputs the message :
*************************************************************************************
GenICam library installation
was performed - you will need to log out and back in to
properly set up the
environment variables.
**************************************************************************************
|
|
Note: The environment variables are set globally via shell scripts inside the folder /etc/profile.d/ that are sourced at login. This configuration works for the shells bash and csh in most Linux systems. |
|
|
Note: When using “sudo” to provide the necessary permissions for the higher performance interface, remember to use “sudo –E” or “sudo –i” to invoke an interactive (login) shell in order to pick up the environment variables that point to the GenICam SDK installation. These are used at runtime to be able to set up and use the GenICam XML based features. |
Related Topics