kylemcdonald / ofxCv

Alternative approach to interfacing with OpenCv from openFrameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenCV assertion error

sphaero opened this issue · comments

Examples don't build using the OF provided OpenCV (2.3). If I add the OS provided OpenCV libs (2.4) it builds but gives assertion failures:
OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in release, file /home/arturo/Downloads/OpenCV-2.3.1/modules/core/src/matrix.cpp, line 1364

Tested on linux64 (ubuntu trusty) using OF master and ofxCv master
It seems there are some version conflicts?Any suggestions for workarounds?

Ok, I worked around it by removing the libs folder and addons.config.mk file from ofxOpenCv and add pkg-config --cflags opencv to PROJECT_CFLAGS in config.make