Type errors in Matlab module's bridge.hpp when compiling without some optional modules (calib3d, etc.) (Bug #3464)


Added by Hilton Bristow about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-12-29
Priority:Normal Due date:
Assignee:Hilton Bristow % Done:

0%

Category:matlab bindings
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

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

Revision 6b0952b9
Added by Vadim Pisarevsky over 10 years ago

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

Also available in: Atom PDF