Closed taa01776 closed 6 years ago
What operating system are you building on?
CentOS 7, just updated. -ta
From: Aaron Bray [mailto:notifications@github.com] Sent: Wednesday, 14 March, 2018 13:37 To: Kitware/DIVA DIVA@noreply.github.com Cc: Anderson, Timothy A. taa@stresearch.com; Author author@noreply.github.com Subject: Re: [Kitware/DIVA] "Super build" fails in opencv_waldboost_detector (#6)
What operating system are you building on?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Kitware/DIVA/issues/6#issuecomment-373110313, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABnTXY-xEnA-w9UKQQ4dJBxQgX13NELoks5teVUwgaJpZM4Sq310.
As a temporary work around, you can do this from your build directory
$ export LD_LIBRARY_PATH=${PWD}/install/lib Then make the project again $ make
I will put in a fix so this builds correctly without the need for setting this environment variable
Yeah, that’s what I did. A little tedious, but not a problem once I figured it out. -ta
From: Aaron Bray [mailto:notifications@github.com] Sent: Tuesday, 20 March, 2018 09:49 To: Kitware/DIVA DIVA@noreply.github.com Cc: Anderson, Timothy A. taa@stresearch.com; Author author@noreply.github.com Subject: Re: [Kitware/DIVA] "Super build" fails in opencv_waldboost_detector (#6)
As a temporary work around, you can do this from your build directory
$ export LD_LIBRARY_PATH=${PWD}/install/lib Then make the project again $ make
I will put in a fix so this builds correctly without the need for setting this environment variable
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Kitware/DIVA/issues/6#issuecomment-374603946, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABnTXfYjUnT4CwVCZqsz0TehwSFStJYCks5tgQi_gaJpZM4Sq310.
A Fletch Fix was pushed and DIVA now pulls a version of Fletch with that fix
Using entirely defaulted settings, builds from the top level of the DIVA repo failed with undefined symbols in opencv_waldboost_detector; it couldn't find libswresample.so from FFmpeg (which is built earlier in the process). I found that adding ${CMAKE_INSTALL_PREFIX}/lib to LD_LIBRARY_PATH before building solved the problem, but that seems sub-optimal, and should at least be documented.