Impact Acquire SDK C++
No GenICam™ devices are detected on a Linux system

Symptoms

After starting any Impact Acquire based application no GenICam™ compliant devices are accessible or detected

Cause

The environment variables which are necessary to use the Impact Acquire package are defined by two shell scripts which are set by profile.d. This causes the variables to be available within every login-shell run on the system. Once an application is started from a non-login shell which is using Impact Acquire libraries the variables from profile.d are not used. This results in a situation that the necessary runtime libraries can not be found which leads to missing interfaces and devices.

Resolution

To avoid this situation there are two possible solutions:

  • Use a login-shell to run the application using the Impact Acquire package.
  • Insert the variables from: /etc/profile.d/genicam.sh and /etc/profile.d/acquire.sh to a shell configuration file which is read to configure environment variables.