external library
-
I am using QtCreator to create an app using Qt6.5 and an external library (modbus) under msys2 in windows10.
I installed the external library with pacman, that I added to my project cliking in the .pro file. It compiles and links, but I can't run it neither in QtCreator, nor from the command line. I get the following error:
The code execution cannot proceed because libmodbus-5.dll was not found. Reinstalling the program may fix this problem.
Which program should be reinstalled ? Where does the "-5" suffix from the expected library comes from ?
Thank you a lot for any help ! -
I am using QtCreator to create an app using Qt6.5 and an external library (modbus) under msys2 in windows10.
I installed the external library with pacman, that I added to my project cliking in the .pro file. It compiles and links, but I can't run it neither in QtCreator, nor from the command line. I get the following error:
The code execution cannot proceed because libmodbus-5.dll was not found. Reinstalling the program may fix this problem.
Which program should be reinstalled ? Where does the "-5" suffix from the expected library comes from ?
Thank you a lot for any help !Hi,
Go to the Run part of the Project panel and there modify the PATH environnement variable to include the path of the folder where this dll can be found.
-
Thank you for your answer.
Unfortunately it did not work since, according to the error message, the "missing" library is libmodbus-5.dll while the only library I mentionned in the .pro file libmodbus.dll.a without "-5" . I wonder how this "-5" is introduced. -