Simple OpenCV applicaton hangs after exe copied [closed]
I am running simple tutorial application compiled under Visual Studio 2013. It runs fine run from the command line. Unfortunately, when I copy the exe file to another location application hangs. There are problems even with the killing process with task manager. Since it is strange that I question whether anyone encountered a similar problem and managed to solve it.
Thank you for your suggestions . The problem solved itself the next day. Copying the application is working properly and I was not able to repeat this error. The behavior was strange because I did everything including copying DLLs to the application folder .
have you copied openCV's DLL with you application ? messages from the console ? are all expected inputs accessible from the new localtion ?
If you want to share around your executable, you will need to build your application and library statically so that it becomes independent of application resources.
The dependecy walker is a great tool for Windows to identify what dlls you're missing
Just closing topics seems not a good way to solve it. Since this helped, could @_AdT_ accept this answer as the correct one?
@StevenPuttemans Sorry. I closed it because he updated saying he solved the issue by himself. It didn't seem this needed an answer anymore. I mean, I don't think my answer is the one to accept, it is just that he needs no answer :)
Ow I misunderstood it :D Sorry for that!
Fixed it :D