How to uninstall OpenCV in mac

后端 未结 2 1446
无人共我
无人共我 2020-12-12 05:37

I installed OpenCV this way

#After downloading OpenCV-3.0, in the directory:
echo \"#define GTEST_USE_OWN_TR1_TUPLE 1\" | cat > temp1
cat modules/ts/incl         


        
相关标签:
2条回答
  • 2020-12-12 05:44
    1. Go to the build directory and run sudo make uninstall

    2. Delete that line you added to ~/.bashrc

    3. Remove the opencv directory

    0 讨论(0)
  • 2020-12-12 06:06

    If you used Homebrew to install you can use this command.

    brew uninstall opencv3

    You will not have to remove any directory such as /usr/local/Cellar/opencv3

    0 讨论(0)
提交回复
热议问题