Open
Description
Hi All,
Sorry to reopen this. It was #95 (which was closed).
I've read the comments (in #95) carefully but have not been successful with "luarocks install cv" yet.
Environment is Mac OS, 10.11.1 (El Capitan).
My steps,
brew update
brew reinstall opencv3 --with-contrib #took a while
---rebuilt torch but not dependencies---
OpenCV_DIR=/usr/local/Cellar/opencv3/3.1.0_1/share/OpenCV luarocks install cv
Same build error as #95
[ 91%] Building CXX object CMakeFiles/ximgproc.dir/src/ximgproc.cpp.o
In file included from /tmp/luarocks_cv-scm-1-2367/torch-opencv/src/ximgproc.cpp:1:
/tmp/luarocks_cv-scm-1-2367/torch-opencv/include/ximgproc.hpp:49:12: error: no type named 'SelectiveSearchSegmentationStrategy' in namespace 'cv::ximgproc::segmentation'; did you mean
'SelectiveSearchSegmentationStrategyPtr'?
inline cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategy * operator->() { return static_cast<cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategy *>(ptr); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SelectiveSearchSegmentationStrategyPtr
/tmp/luarocks_cv-scm-1-2367/torch-opencv/include/ximgproc.hpp:46:8: note: 'SelectiveSearchSegmentationStrategyPtr' declared here
struct SelectiveSearchSegmentationStrategyPtr {
^
/tmp/luarocks_cv-scm-1-2367/torch-opencv/include/ximgproc.hpp:50:12: error: no type named 'SelectiveSearchSegmentationStrategy' in namespace 'cv::ximgproc::segmentation'; did you mean
'SelectiveSearchSegmentationStrategyPtr'?