rsnk96 / Ubuntu-Setup-Scripts

Scripts to help you set up your Ubuntu quickly, especially if you're in any subfield of Data Science or AI!
Apache License 2.0
128 stars 76 forks source link

opecvDirectInstall: Bug fixing #20

Open rajat2004 opened 5 years ago

rajat2004 commented 5 years ago

The following CMake errors or warnings occur while building OpenCV:

The packages are being downloaded https://github.com/rsnk96/Ubuntu-Setup-Scripts/blob/eef7fdb4ed8eac62b63a9efdb48ae4424e73db1c/opencvDirectInstall.sh#L61

-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:

-- Found VTK 6.3.0 (/usr/lib/cmake/vtk-6.3/UseVTK.cmake)


Right now, building opencv with VTK is commented out, but will be a problem if someone requires it.
rsnk96 commented 5 years ago
  1. Need to update removal of conda during opencv installation. Reason: with update in how conda activates environments with conda.sh, the current script does not remove conda completely while building opencv. This leads to a non-working highgui module since it is linked to conda's qt and not the system qt
rsnk96 commented 5 years ago
  1. Need to update removal of conda during opencv installation. Reason: with update in how conda activates environments with conda.sh, the current script does not remove conda completely while building opencv. This leads to a non-working highgui module since it is linked to conda's qt and not the system qt

Fixed

rajat2004 commented 5 years ago
  1. Need to update removal of conda during opencv installation. Reason: with update in how conda activates environments with conda.sh, the current script does not remove conda completely while building opencv. This leads to a non-working highgui module since it is linked to conda's qt and not the system qt

Fixed

Nice, this got missed somehow so didn't look into it The Travis is failing for all Bionic builds, not related to this issue image

I've restarted one build, but this is happening on all 4

Edit: Nope! Didn't work

rajat2004 commented 5 years ago

The Travis is failing for all Bionic builds, not related to this issue image

I've restarted one build, but this is happening on all 4

Edit: Nope! Didn't work

Fixed with https://github.com/rsnk96/Ubuntu-Setup-Scripts/commit/0d40c46aed8202555bfae01329d0d06a6102c21e

rajat2004 commented 4 years ago

Issue has been updated