OctoMap / octomap

An Efficient Probabilistic 3D Mapping Framework Based on Octrees. Contains the main OctoMap library, the viewer octovis, and dynamicEDT3D.

Home Page:http://octomap.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

octovis: undefined symbol: _ZN8octomath6Pose6DC1ERKS0_

fishmarch opened this issue · comments

Hello. I could build the octovis successfully, but an error appears when running it.

Screenshot from 2021-12-21 17-04-19

Which operating system are you on and how did you configure/build?

I am working on Ubuntu 20.04. I build it just following the instruction in README.md. Maybe some problems with Qt? I am using Qt5.

I've just tried it locally on 20.04 and it works. Can you check ldd ./bin/octovis and whether it resolves to lib/... relative to the source directory of the repository?

Here are the outputs. Could you find any problem
Screenshot from 2021-12-24 13-48-45
?

It picks up liboctomap/liboctomath from /lib and liboctovis from /home/xiaoyu/myLibs/.... I would expect that all of them get picked up from ./lib/ i.e. relative to the root of the repository (which I suspect is myLibs/octomap). Either the configure step went wrong or you need to amend your LD_LIBRARY_PATH to prepend the current directory.

Although I do not know the reason yet, the problem disappears now. Thanks a lot.