Open amiltonwong opened 9 years ago
Hi,
having a look at your compilation errors it seems to me that you have both repositories dvo and _dvoslam in the same ros workspace. Because of this, the packages _dvocore, _dvoros and _dvobenchmark are duplicated. You can see that at the time of compiling that the files related to _dvocore, _dvoros and _dvobenchmark are being taken from the dvo repository folder (the explanation for this can be found here at the end of the subsection 2.4). The most simple solution for this would be remove the dvo folder completely of this workspace, then the compilation of _dvoslam should work.
Good luck!
@jesusbriales . Thanks for your suggestion, but it didn't work even I completely remove dvo package.
Still the same build error. Could you tell me what's the config for your system? (Version for your OS, ROS )
The build error is not the same, the problem with the name conflicts is gone but the error now is related to the g2o library. This error is discussed in the issues #19 and #28, and you can see there that some of the solutions can be:
cmake-gui dvo_slam/g2o/build/
setting the _G2O_BUILDAPPS option to false.
I had this same problem and solved it like this.sudo apt-get install ros-fuerte-libg2o liblapack-dev libblas-dev freeglut3-dev libqglviewer-qt4-dev libsuitesparse-dev libx11-dev
PS: I compiled _dvoslam with Ubuntu 12.04 and ROS Fuerte as well as the Indigo branch of jefftee with Ubuntu 14.04 and ROS Indigo.
@jesusbriales . Thank you so much. Finally I built it successfully. The first option (Disable the apps in g2o through CMake) doesn't apply for my case, I still got the same build error The second one works for my case. After I install those dependencies as you suggest. I built it successfully. :+1:
@jesusbriales i used your 1) suggestion to turn the flag off
but i am still getting the same error. I am on indigo so the 2nd option doesnt work for me. Any suggestions as how to overcome this issue?
Hi all,
I had followed the install steps. But came across the following compile error. https://goo.gl/h5G6JT
Could someone give me some suggestions to fix it?
THX~
PS. My system is Ubuntu 12.04, ROS Fuerte installed. I could build dvo package successfully in the same machine, so I think there's something missing while compiling dvo_slam and g2o.