Plugin loading
Dependency not found
If perClass Mira shows the following message in the Output window (where <path> is replaced with any plugin file path):
Error loading <path>: -1: Problem loading the library: Cannot load library <path>: The specified module could not be found.
Then there is a dependency of the plugin missing. Depending on which plugin is used, different dependencies are required. The camera sections under Supported spectral cameras will show what is required for a specific camera.
If a dependency is installed, then validate that the path to the dependency installation directory exists in the PATH environment variable. This can be checked by going searching for "Edit the system environment variables" in the Windows start menu. From this dialog the Environment Variables... button at the bottom should be pressed. The following dialog will show the variables for the user at the top and system at the bottom. Both of these will have a variable named PATH, so check both of them if the directories as specified in the camera sections exists.
If the dependency is installed and the installation directory exists on the PATH, but Mira still reports this error, then it is possible to use Dependencies tool from https://github.com/lucasg/Dependencies to find out what is missing. Download the latest release, extract the file, and then start DependenciesGui.exe (not Dependencies.exe). From that program the File / Open command should be selected and then the plugin should be opened (<path> from the start of this chapter).
The following screenshot show the dependencies of the XIMEA plugin, which requires the XIMEA API and that DLL is not found, this is directly visible in the list.
It is also possible that an indirect dependency is missing, to check that, each of the items in the tree can be expanded. Note that it is not required to expand any DLLs from the Windows system directories, since they may show missing dependencies, but those do not cause issues.
Wrong dependency version
It is possible that a dependency is installed and on the path, but it is a different version than what perClass Mira supports. When the version is wrong, usually symbols from the DLL will be missing. In this case the following error message may appear in the Output window (where <path> is replaced with any plugin file path):
Error loading <path>: -1: Problem loading the library: Cannot load library <path>: The specified procedure could not be found.
In this case it should be validated that the installed version of dependency is support by perClass Mira, supported versions are shown in the new project dialog and in the camera specific documentation. Using the previously mentioned Dependencies tool, missing symbols are shown with an error icon, which when hovered will show that there are symbols (or imports) missing:
Also make sure that the dependency is loaded from the correct location, since some dependencies may conflict with other dependencies. This will usually show a similar error in the Dependencies tool and the path will be different from what is expected. For instance, a Pleora eBUS plugin may try to load dependencies from an imec HSI Suite installation: