Unsolved Integrating exiv2 with Qt
-
These are errors for the built exiv2 library dll file which I am using in a QT project. When I run the the project, it the program exits immediately but it compiles successfully. So I wanted to check if I am missing any of its dependencies to include in the qt project.
-
How did you build exiv2 ? With which compiler ?
-
via mingw 32 make and make install
-
The same you installed with Qt ?
-
No I have installed from msys ... I will try installing with the mingw from QT and get back.
-
I have tried installing with QT provided libraries (g++ and gcc) via Qt 5.6 mingw terminal but I get the same error.
During startup program exited with code 0xc0000135
-
Did you add the path to where the exiv2.dll can be found the PATH environment variable in the Run part of the Project panel ?
-
Ya
-
Then can you copy it in the same folder as the application to be really sure it can be found ?
-
I have actually tried building in the application folder using prefix option but that didn't work too :(
-
Prefix option ?
-
I have configured the application folder as the build path of exiv2 and built the library in the application folder itself. So I am sure it is in the path of the application.
./configure --prefix="application dir path" -
Except that the .dll might be removed at any time if you cleanup the build dir of your application.
Put that .dll in a known location and either use it from there or copy it to the build dir of your application.