-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error about segmentation error during running MSC-VO code #3
Comments
Hi Ayakanoinu, |
Hi joanpepcompany,
I also tried OpenCV 3.2, but it did not work. I hope you could offer some ideas for solutions. |
Sorry Joan. It is so appologize that i didn't notice the reply of you. I have resolved this problem by adding "return 1" at the end of function LineOptStruct in Optimizer.cc. I think this problem is caused by the c++ library of my computer. Function LineOptStruct is defined as a function with integer return value. But there is no return statement in code. It is hard to explain why but i really solve this problem by adding "return 1" in the end of this function. |
Hello dear author, I am trying to running the code of MSC-VO. During the process of configuring environment, there always exists segmentation error. After debug, I found that this segmentation error is loacte in Optimizer::LineOptStruct, if I delete the calling of this function in 277 of Tracking.cc, the algorithm can run successfully. I add an output at the end of Optimizer::LineOptStruct and 278 of Tracking.cc, only the output in Optimizer::LineOptStruct can be print, which means that the segmentation error maybe caused by the memory reclamation of Optimizer::LineOptStruct.I would like to know that is this problem happens when you run this code. If this problem also happened in your device, how can i solve it?
Thank you so much!
The text was updated successfully, but these errors were encountered: