selective_search_py icon indicating copy to clipboard operation
selective_search_py copied to clipboard

Can not #include "segment/segment-image.h"

Open v18nguye opened this issue 5 years ago • 0 comments

Hi all,

I am trying to build the code with python version 2.7 and version 3.8. When I used CMake to generate building files, there were no errors. Until I did compilation, it could not include the segment-image header file. The specific errors as following:

Scanning dependencies of target segment [ 50%] Building CXX object CMakeFiles/segment.dir/segment_py.cpp.o /home/nguyen/Downloads/selective_search_py/segment_py.cpp:5:10: fatal error: segment/segment-image.h: No such file or directory 5 | #include "segment/segment-image.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/segment.dir/build.make:63: CMakeFiles/segment.dir/segment_py.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/segment.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

I tried many ways to figure out the problem, but I can not resolve it. I will appreciate any helps.

Envs: CMake=3.15.2 Python=2.7 | 3.8

v18nguye avatar Jun 22 '20 21:06 v18nguye