yanyan-li / PlanarSLAM

A RGB-D SLAM system for structural scenes, which makes use of point-line-plane features and the Manhattan World assumption.
381 stars 85 forks source link

./lib/libPlanarSLAM.so Undefined usage #7

Open Yejing-Lai opened 3 years ago

Yejing-Lai commented 3 years ago

Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! image

yanyan-li commented 3 years ago

Hi, the system needs openCv_Contrib as well. You can find details from the README.md file.

LeonGoretzkatju commented 3 years ago

Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! image Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok.

Yejing-Lai commented 3 years ago

Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! image Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok.

I am using OpencV version 3.2.0, but the following error is reported. I wonder if it is necessary to use OpencV3.4.1? image

LeonGoretzkatju commented 3 years ago

Well, I think maybe you can reinstall the Dbow2 and g2o in the /ThirdParty in your own environment or you can run with the build.sh If you have multiple opencv in your own environment, I strongly suggest you set the opencv direction in the CMakeLists.txt or set the OpenCV3.2.0 as the default environment. You can use the sudo rm -rf to fully remove all the opencv3.4 in your computer, There are many tutorials in the stackoverflow .etc . You can try the suggestions I mentioned. Thanks

------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 中午11:09 @.>; @.**@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7)

Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply!

Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok.

I am using OpencV version 3.2.0, but the following error is reported. I wonder if it is necessary to use OpencV3.4.1?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Yejing-Lai commented 3 years ago

Well, I think maybe you can reinstall the Dbow2 and g2o in the /ThirdParty in your own environment or you can run with the build.sh If you have multiple opencv in your own environment, I strongly suggest you set the opencv direction in the CMakeLists.txt or set the OpenCV3.2.0 as the default environment. You can use the sudo rm -rf to fully remove all the opencv3.4 in your computer, There are many tutorials in the stackoverflow .etc . You can try the suggestions I mentioned. Thanks ------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 中午11:09 @.>; @.**@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7) Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok. I am using OpencV version 3.2.0, but the following error is reported. I wonder if it is necessary to use OpencV3.4.1? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you very much for your reply! I've been able to run the system. But after running for some time, I encountered a new problem, I am looking for a solution, if you have solved a similar problem, I hope to get your reply! image

LeonGoretzkatju commented 3 years ago

I am sorry that I was so busy yesterday,  and I have encountered with the same warning 2 months ago,  However, I didn't encounter with the segment fault, The error in your terminal can be solved by create a new folder named as "mesh" in your project dictionary, and the vtk warning I haven't find a good way to solve it, my vtk version is 7.1.0 and pcl 1.9.0, maybe the version is conflict, however, the warning have no influence on the program running. 

------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 下午2:35 @.>; @.**@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7)

Well, I think maybe you can reinstall the Dbow2 and g2o in the /ThirdParty in your own environment or you can run with the build.sh If you have multiple opencv in your own environment, I strongly suggest you set the opencv direction in the CMakeLists.txt or set the OpenCV3.2.0 as the default environment. You can use the sudo rm -rf to fully remove all the opencv3.4 in your computer, There are many tutorials in the stackoverflow .etc . You can try the suggestions I mentioned. Thanks … ------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 中午11:09 @.>; @.@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7) Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok. I am using OpencV version 3.2.0, but the following error is reported. I wonder if it is necessary to use OpencV3.4.1? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you very much for your reply! I've been able to run the system. But after running for some time, I encountered a new problem, I am looking for a solution, if you have solved a similar problem, I hope to get your reply!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Yejing-Lai commented 3 years ago

I am sorry that I was so busy yesterday,  and I have encountered with the same warning 2 months ago,  However, I didn't encounter with the segment fault, The error in your terminal can be solved by create a new folder named as "mesh" in your project dictionary, and the vtk warning I haven't find a good way to solve it, my vtk version is 7.1.0 and pcl 1.9.0, maybe the version is conflict, however, the warning have no influence on the program running.  ------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 下午2:35 @.>; @.**@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7) Well, I think maybe you can reinstall the Dbow2 and g2o in the /ThirdParty in your own environment or you can run with the build.sh If you have multiple opencv in your own environment, I strongly suggest you set the opencv direction in the CMakeLists.txt or set the OpenCV3.2.0 as the default environment. You can use the sudo rm -rf to fully remove all the opencv3.4 in your computer, There are many tutorials in the stackoverflow .etc . You can try the suggestions I mentioned. Thanks … ------------------ 原始邮件 ------------------ 发件人: "yanyan-li/PlanarSLAM" @.>; 发送时间: 2021年9月1日(星期三) 中午11:09 @.>; @.@.>; 主题: Re: [yanyan-li/PlanarSLAM] ./lib/libPlanarSLAM.so Undefined usage (#7) Hello, my version of OpenCV is 3.4.9. I don't know why the following error occurs. Hope to get your reply! Hello, I think your opencv version is too new, the OpenCV LSDextractor needs OpenCV_Contrib and the you can use the OpenCV version 3.2.0/3.3.0/3.4.1 , my System is Ubuntu18.04LTS with pcl1.9.0, opencv3.2.0 vtk7.1 and the SLAM system is ok. I am using OpencV version 3.2.0, but the following error is reported. I wonder if it is necessary to use OpencV3.4.1? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Thank you very much for your reply! I've been able to run the system. But after running for some time, I encountered a new problem, I am looking for a solution, if you have solved a similar problem, I hope to get your reply! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you very much for your reply! I added the "mesh" folder to the directory and the system worked. Sometimes "segment error" will be reported, I guess it may be related to hardware conditions. Thanks again for your reply! Best wish!