I have opencv-core installed without the full opencv package. Unfortunately when I include #include <opencv2/imgproc.hpp> It fails: In file included from /usr/local/include/opencv2/imgproc.hpp:46: In file included from /usr/local/include/opencv2/core.hpp:54: /usr/local/include/opencv2/core/base.hpp:52:10: fatal error: 'opencv2/opencv_modules.hpp' file not found #include "opencv2/opencv_modules.hpp" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Shouldn't it be possible to use opencv-core without opencv?
This may be my fault from ports r469420. There are updates in progress in bug 234147 and bug 237847 so those may fix it, I'll take a look.
I did not realize this problem when making the patch in in bug 234147 and bug 237847 . I will rethink which file to leave in opencv-core. At a glance, opencv2/opencv_modules.hpp retains information of which modules are built. I do not know if it is OK to have HAVE_OPENCV_* line for modules in opencv, if it is moved to opencv-core.
(In reply to Hiroo Ono from comment #2) bug #237135 and bug #237847 I meant.
Overcome by https://svnweb.freebsd.org/ports?view=revision&revision=563430