You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: