sthoduka / imreg_fmt

Image registration based on the Fourier-Mellin transform
https://sthoduka.github.io/imreg_fmt/
GNU General Public License v3.0
98 stars 22 forks source link

Failed to make #2

Closed phenix1983 closed 6 years ago

phenix1983 commented 6 years ago

cmake -DCMAKE_BUILD_TYPE=Release ..

phenix1983 commented 6 years ago

just installed fftw3, resolved.

wafisher commented 4 years ago

I had to use this on Mac OS X:

-DCMAKE_CXX_FLAGS='-isystem /usr/local/include'

I then ran into a handful of issues (about 5) around constants, probably because I had the wrong version of OpenCV but manually fixing them one by one did the trick.

sthoduka commented 4 years ago

@wafisher thanks! I added this to the README.

What were the other issues you had?

wafisher commented 4 years ago

I changed CV_LOAD_IMAGE_COLOR to cv::IMREAD_COLOR, CV_BGR2GRAY to cv::COLOR_BGRA2GRAY and CV_INTER_CUBIC to cv::INTER_CUBIC.

I have OpenCV 4.3.0.