nasa-jpl / autoRIFT

A Python module of a fast and intelligent algorithm for finding the pixel displacement between two images
Apache License 2.0
212 stars 52 forks source link

Problems with Standalone Installation on Windows #77

Open himal-ella opened 1 year ago

himal-ella commented 1 year ago

Hello,

I have been having trouble with the standalone autoRIFT installation. After cloning the files from git when I run python setup.py install it starts installing and then comes up with this error:

geo_autoRIFT/autoRIFT/bindings/autoriftcoremodule.cpp(43): fatal error C1083: Cannot open include file: 'opencv2/imgproc/imgproc.hpp': No such file or directory

I have got cv2 installed and have the files linked to my $PATH, there doesn't seem to be any problems importing the other dependencies. I have also tried downgrading cv2 and installing autoRIFT through conda-forge but this comes up with a similar error. I am using a windows system and am relatively new to python and can't figure out how to fix this! Thanks!

jhkennedy commented 1 year ago

@himal-ella , I have not tried to build or install autoRIFT on Windows, and the conda-forge recipe doesn't include Windows builds (See #80).

If you get a Windows install working, please report the steps here or open a PR to add windows instations instructions so we can add it to our documentation.