How do I resolve the "Libraries not found at runtime" error?

All the dynamically linked libraries (DLLs) are in the root folder of the SDKA download and NOTA on the path that your .exe file is searching

You may receive the following error when compiling and running SDK examples on Windows:

Could not find/load native library (libopenalpr.dll)
OpenALPR was not properly initialized.


This is because all the dynamically linked libraries (DLLs) are in the root folder of the SDK download and NOT on the path that your .exe file is searching. To fix the issue, you can either:

  • Modify your system %PATH% variable to include the root SDK folder (recommended)

  • Copy all of the DLLs from the root SDK folder to the folder containing your .exe


Note since this is a runtime linkage, you will not need to recompile for the change to take effect.