GlueStick
GlueStick copied to clipboard
Error in using glue_stick_demo.ipynb
When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears:
ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import homography_est as hest 3 line_seg0 = [hest.LineSegment(l[0], l[1]) 4 for l in matched_lines0.reshape(-1, 2, 2)] 5 line_seg1 = [hest.LineSegment(l[0], l[1]) 6 for l in matched_lines1.reshape(-1, 2, 2)]
ImportError: /lib/libceres.so.1: undefined symbol: _ZN6google21kLogSiteUninitializedE
So I look into the version of /lib/libceres.so.1, by command: ls -ll /lib/* | grep libceres the following appears:
-rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1 lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0 -rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0
That means the actual version of /lib/libceres.so.1 is /lib/libceres.so.1.14.0 Is this the correct version for /lib/libceres.so.1? Any suggestion how to fix it?