Windows issue: It just crashed down
I am using a Windows10 system, and I have successfully generated the .exe file using project.sln. I generated the .exe file in x86 and x64 mode, but neither can run. They would crash down every time I run it on the command line or use .bat directly. Can anybody suggest anything on this matter? Many thanks.
@Hello,I meet the same problem with you now,Have you solved your problem? how to solve? thanks you @Mvrjustid @andrewssobral
Hello,I meet the same problem with you now,Have you solved your problem? how to solve? thanks you @Mvrjustid @andrewssobral
Hello @Mvrjustid and @wn13083405221 , I am sorry for my delayed response. Did you checked if the binaries of OpenCV are in your system PATH ? In my case, I compiled with VS2013 with OpenCV 2.4.10 and I have added the opencv_ffmpeg2410.dll file in my working folder. Please let me know if it works for you, Best, Andrews
@andrewssobral Thank you for your reply,I have checked the binaries of Opencv in my system path,and I have successfully generated the .exe file using project.sln, in my D:\Projects\vehicle_detection_haarcascades-master\vs2013\x64\Release folder,I have have successfully generated project.log, vc120.pdb and vehicle_detection.obj。furthermore,InD:\Projects\vehicle_detection_haarcascades-master\build folder,I have have successfully generated vehicle_detection_x64.exe, but They would crash down every time I run it on the command line or use .bat directly, in addition,I have successfully run the demo in Ubuntu16.04+opencv2.4.9 finally,would I consult you a question that how to detect car in dynamic background ? now I am confused on the project of Forward Collision Warning ,Look forward to your reply,thanks you!
Hi @wn13083405221 Try to use cmake in your Windows environment instead of using the provided vs2013/project.sln, and check if the binaries are ok. I think this crash is due to some incompatibility between libraries used to compile this project and the binaries in your system path. You may test by copying the opencv binaries into your project folder (where your *.exe is located). About dynamic background, if you are using an object detection framework based on HaarCascades or (Deep) Convolutional Neural Networks (instead of a background modeling framework) you don't need to worry about that. Hope this help you, Best
Can you please tell me how should we define the command Arguments in the debugging page. Thanks