Closed bryce-wang-315 closed 4 years ago
if I operate it from terminal, I will get the "Segmentation fault (core dumped)" error
I will check that
@bryce-wang-315 For my experience, "Segmentation fault" always relate to gpu memory lack. For save mesh function, please give a screenshot for your terminal output.
Thank you very much, I have solved this problem, and I found that the reason is that mybe we have different g++ version. I changed this function bellow. I changed the second level "for circle", and then it works.
template
auto idx = m_FaceIndicesVertices[i][j];
if (_set.find(idx) != _set.end()) {
foundDuplicate = true;
break;
} else {
_set.insert(idx);
}
}
if (!foundDuplicate) {
newFacesIndicesVertices.push_back(m_FaceIndicesVertices[i]);
}
}
if (m_FaceIndicesVertices.size() != newFacesIndicesVertices.size()) {
m_FaceIndicesVertices = newFacesIndicesVertices;
}
return (unsigned int)m_FaceIndicesVertices.size();
}
glad to hear that.
I didn't got this error but when i opened the mesh model in meshlab, it throws a warning about degenerated faces. I followed the code changes above and got no meshlab's warnings any more. Also, I found some colored noise in some border disappeared.
After I finished all the images data, then I clik the "saveMesh" button on the pangolin window, but I encounter the follow problem " [1] + Done "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-knhbzn1w.k1l" 1>"/tmp/Microsoft-MIEngine-Out-52ts0jac.tk7" ". I don't know why, even though I test the official dataset, I would face this problem. Is there anybody who faced the same problem with me? If you did, please give me some suggestions.