Type errors in Matlab module's bridge.hpp when compiling without some optional modules (calib3d, etc.) (Bug #3464)
Description
This issue is for my own records so I can put an issue # next to my pull request when I fix it.
---------------------------------------
When compiling OpenCV without some optional modules (calib3d, etc.) the Matlab bridge fails to find certain includes required for type conversions. Either guard these includes and their corresponding types/conversions, or hard-code paths to all of the top-level module includes.
Failed to compile absdiff: In file included from /Users/hiltonbristow/Code/projects/opencv/build/modules/matlab/src/absdiff.cpp:14: /Users/hiltonbristow/Code/projects/opencv/modules/matlab/include/opencv2/matlab/bridge.hpp:51:10: fatal error: 'opencv2/calib3d.hpp' file not found #include <opencv2/calib3d.hpp> ^ 1 error generated.
Associated revisions
Merge pull request #3464 from asuwend1:master
History
Updated by Anna Kogan about 11 years ago
- Status changed from New to Open
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4672