cheind / inpaint

:pencil2: Inpaint is a C++ library providing image inpainting algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build errors

michaelitvin opened this issue · comments

I'm trying to build inpaint in Xcode 8 with C++11 and OpenCV 2.3.1.
Added the files from /src to the project and compiled. Getting many errors that seem related to OpenCV compatibility:

image

Which versions should be supported?

Thanks

Assuming to be fixed.

Updated to 3.2.
Most errors are fixed, except this error in meanshift.cpp:
image

I believe that happens because seeds.row(count) is a temporary and therefore should be const. If I add const on line 34 it compiles fine:
image

I haven't used CMake, just added all the cpp files to a project. Should I remove meanshift and use only the methods that are in CMakeLists.txt?

Thanks