You are not logged in.

#1 2018-10-10 10:33:14

chrisd
Member
Registered: 2016-07-02
Posts: 15

Upgrade of opencv results in linking errors

Dear all,

I upgraded archlinux yesterday (pacman -Syu). One of the updates that was done was that
opencv was upgraded from 3.4.3-2 to 3.4.3-3. After this I am getting a lot of linker errors
and warnings when compiling some software of myself. Examples of a warning and an error
are

/usr/bin/ld: warning: libvtkInteractionStyle.so.1, needed by /usr/lib/libopencv_viz.so.3.4.3, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libopencv_viz.so.3.4.3: undefined reference to `vtkPolyData::SetStrips(vtkCellArray*)

Anyone any ideas? Many Thanks!
Chris

Offline

#2 2018-10-10 10:44:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,676

Re: Upgrade of opencv results in linking errors

Install the new optdep vtk to fix the linking error and/or follow/provide feedback in https://bugs.archlinux.org/task/41923 since there seems to be at least one other person similarily affected.

Last edited by V1del (2018-10-10 10:45:21)

Offline

#3 2018-10-10 11:24:00

chrisd
Member
Registered: 2016-07-02
Posts: 15

Re: Upgrade of opencv results in linking errors

This solves it. I did pacman -S vtk.

Thank you!
Chris

Offline

Board footer

Powered by FluxBB