symao / PnPL

Perspective n Point and Line for camera pose estimation.
135 stars 47 forks source link

the runtime error #7

Closed weiningwei closed 3 years ago

weiningwei commented 3 years ago

Hi, @symao . Thanks for sharing the code. I can run this ./demo_pnptrans succeefully. But when I run ./demo_pnpl, it have an error "Segmentation fault (core dumped)"

ElonKou commented 3 years ago

Hi, @symao . Thanks for sharing the code. I can run this ./demo_pnptrans succeefully. But when I run ./demo_pnpl, it have an error "Segmentation fault (core dumped)"

Hi, did you solved the question, I met the same question, could you please tell me how to fix this problem? thank you!

weiningwei commented 3 years ago

Hi, I remember it should be the problem of g2o version. You can change the version to https://github.com/RainerKuemmerle/g2o/tree/20160424_git.

ElonKou commented 3 years ago

Hi, I remember it should be the problem of g2o version. You can change the version to https://github.com/RainerKuemmerle/g2o/tree/20160424_git.

Thank you very much, I solved the question by using ros-kinetic-libg2o(20160424) package.