Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xiaoli/01a059d2fd8d35bd7fb164a132cedeb9 to your computer and use it in GitHub Desktop.
Save xiaoli/01a059d2fd8d35bd7fb164a132cedeb9 to your computer and use it in GitHub Desktop.
Install Graph-Cut RANSAC on Ubuntu 22.04.2 LTS

https://github.com/danini/graph-cut-ransac

sudo apt-get install libopencv-dev
sudo apt-get install libeigen3-dev

git clone https://github.com/danini/graph-cut-ransac
cd graph-cut-ransac
python ./setup.py install

https://stackoverflow.com/questions/72540359/glibcxx-3-4-30-not-found-for-librosa-in-conda-virtual-environment-after-tryin

Python 3.9.16 (main, Mar  8 2023, 14:00:05)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygcransac
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/dot/dev/miniconda3/envs/test3/lib/python3.9/site-packages/pygcransac-0.1-py3.9-linux-x86_64.egg/pygcransac/__init__.py", line 1, in <module>
    from .pygcransac import *
ImportError: /home/dot/dev/miniconda3/envs/test3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/libgdal.so.30)
>>> exit()
conda install -c conda-forge gcc=12.1.0
Python 3.9.16 (main, Mar  8 2023, 14:00:05)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygcransac
>>> exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment