INDEMIND / IMSEE-SDK

双目惯性模组SDK
30 stars 15 forks source link

cannot find libopencv_calib3d3.so.3.3 #3

Open zhangzhouyuan opened 3 years ago

zhangzhouyuan commented 3 years ago

`roslaunch imsee_ros_wrapper start.launch ... logging to /home/zyx/.ros/log/ef8f124a-2a44-11eb-b37e-70c94e48a4d0/roslaunch-zyx-VivoBook-15-ASUS-Laptop-X542UF-16493.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://zyx-VivoBook-15-ASUS-Laptop-X542UF:41019/

SUMMARY

PARAMETERS

NODES /imsee/ imsee_wrapper_node (imsee_ros_wrapper/imsee_wrapper_node)

auto-starting new master process[master]: started with pid [16512] ROS_MASTER_URI=http://localhost:11311

setting /run_id to ef8f124a-2a44-11eb-b37e-70c94e48a4d0 process[rosout-1]: started with pid [16523] started core service [/rosout] process[imsee/imsee_wrapper_node-2]: started with pid [16530] [ INFO] [1605776113.747817987]: Initializing nodelet with 8 worker threads. [ERROR] [1605776113.765757604]: Failed to load nodelet [/imsee/imsee_wrapper_node] of type [imsee/ROSWrapperNodelet] even after refreshing the cache: Failed to load library /home/zyx/sensor/indemind/IMSEE-SDK/ros/devel/lib//libimsee_wrapper.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_calib3d3.so.3.3.so.3.3: cannot open shared object file: No such file or directory) [ERROR] [1605776113.765797265]: The error before refreshing the cache was: Failed to load library /home/zyx/sensor/indemind/IMSEE-SDK/ros/devel/lib//libimsee_wrapper.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_calib3d3.so.3.3: cannot open shared object file: No such file or directory) ^C[imsee/imsee_wrapper_node-2] killing on exit ^C[rosout-1] killing on exit ^C[master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done `

after make the opencn 3.3.1, only find libopencv_calib3d.so.3.3 file,not find libopencv_calib3d3.so.3.3 or libopencv_calib3d3.so.3.3.so.3.3 file, how to solve this problem thinks

Bean-Bean commented 3 years ago

我在Ubuntu也是遇到这个问题,但是我不知道怎么去解决

Nronaldo commented 3 years ago

我也是这个问题 不知道怎么解决。请问你们解决了吗

gewashi commented 2 years ago

我也是这个问题 不知道怎么解决。请问你们解决了吗

您好,请问您解决了吗

gewashi commented 2 years ago

我在Ubuntu也是遇到这个问题,但是我不知道怎么去解决

您好,请问您解决了吗

Nronaldo commented 2 years ago

我在Ubuntu也是遇到这个问题,但是我不知道怎么去解决

您好,请问您解决了吗

https://blog.csdn.net/weixin_41469272/article/details/107178552#comments_16816227 参考这个。祝好

gewashi commented 2 years ago

我在Ubuntu也是遇到这个问题,但是我不知道怎么去解决

您好,请问您解决了吗

https://blog.csdn.net/weixin_41469272/article/details/107178552#comments_16816227 参考这个。祝好 好的,谢谢

1053702092 commented 1 year ago

老哥们解决了吗

Bean-Bean commented 1 year ago

我直接放弃了,哈哈哈哈

Stalin @.***

 

------------------ 原始邮件 ------------------ 发件人: "INDEMIND/IMSEE-SDK" @.>; 发送时间: 2023年4月25日(星期二) 上午10:45 @.>; @.**@.>; 主题: Re: [INDEMIND/IMSEE-SDK] cannot find libopencv_calib3d3.so.3.3 (#3)

老哥们解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

tdnet12434 commented 1 year ago

For who need help about libopencv_calib3d3.so.3.3 you can simply do link symbol as below

  1. install opencv 3.3, if you working with other version you can tell cmake to install opencv in different path by add
-DCMAKE_INSTALL_PREFIX=/home/fx/opencv331/installed \
  1. After do make && make install, do symbol link to library desired location as follow
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_calib3d.so.3.3 /usr/local/lib/libopencv_calib3d.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_videoio.so.3.3 /usr/local/lib/libopencv_videoio.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_objdetect.so.3.3 /usr/local/lib/libopencv_objdetect.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_imgproc.so.3.3 /usr/local/lib/libopencv_imgproc.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_core.so.3.3 /usr/local/lib/libopencv_core.so.3.3

but if libindemind request for suffix 3 such as libopencv_calib3d3 not libopencv_calib3d on your machine, just add them as

sudo ln -s /home/fx/opencv331/installed/lib/libopencv_calib3d.so.3.3 /usr/local/lib/libopencv_calib3d3.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_videoio.so.3.3 /usr/local/lib/libopencv_videoio3.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_objdetect.so.3.3 /usr/local/lib/libopencv_objdetect3.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_imgproc.so.3.3 /usr/local/lib/libopencv_imgproc3.so.3.3
sudo ln -s /home/fx/opencv331/installed/lib/libopencv_core.so.3.3 /usr/local/lib/libopencv_core3.so.3.3
  1. Tell system know that new library added.
    sudo ldconfig

Hope this help.

torrescguo commented 1 year ago

直接指定 使用opencv 3.4.3 在demo 中的 CmakeList.txt中