arrayfire-community / arrayfire_opencv

Miscellaneous ArrayFire-OpenCV interoperability functions
BSD 3-Clause "New" or "Revised" License
4 stars 6 forks source link

OpenCV interoperability #1

Open kahrabji08 opened 8 years ago

kahrabji08 commented 8 years ago

Hi, Am trying to use these functions in order to incorporate array fire to my previous OpenCV projects. Is these functions valid? because when I tried to include it to my project I got this error:

/home/mohamed/Hassan/arrayfire/arrayfire-project-templates/test/src/af_cv.hpp:39:22: fatal error: af/utils.h: No such file or directory

include <af/utils.h>

                  ^

compilation terminated. make[2]: * [src/CMakeFiles/FOO_CORE.dir/orb_matching.cpp.o] Error 1 make[1]: * [src/CMakeFiles/FOO_CORE.dir/all] Error 2 make: *\ [all] Error 2

When I tried to comment it or use #include <af/utils.h> instead, I got more errors: image

mcclanahoochie commented 8 years ago

Thanks for bringing this to my attention. It seems the ArrayFire API has changed since this was written. Feel free to fix and submit! Otherwise I'll get around to updating this when I get a chance.

mcclanahoochie commented 8 years ago

Please see more info here: https://github.com/arrayfire/arrayfire-extras/issues/4