Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
v18nguye opened this issue Jun 22, 2020 · 0 comments
Open

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

v18nguye opened this issue Jun 22, 2020 · 0 comments

Comments

@v18nguye
Copy link

v18nguye commented Jun 22, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant