You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when execute my sample code, I get the output like below:
/tmp/tmp.Q6L6jGxD1s/cmake-build-debug-remotehostslam/main: error while loading shared libraries: libg2o_types_slam3d.so: cannot open shared object file: No such file or directory
I found a stupid solution. Since my g2o installatoin dir is not default, I write my g2o lib dir into /etc/ld.so.conf and run "ldconfig".
But I still don't know why the "core" library can work while the "types slam3d" can't. They are both found and set by cmake.
I set my CMakeLists.txt like below:
Using
I can get
But when execute my sample code, I get the output like below:
I have tried https://github.com/RainerKuemmerle/g2o/issues/480#issuecomment-761876244(sudo ldconfig), but it does not work.
How can I solve this problem?
The text was updated successfully, but these errors were encountered: