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

macOS build fails due missing caffe.hpp #12

Closed
mjp0 opened this issue Jul 12, 2017 · 1 comment
Closed

macOS build fails due missing caffe.hpp #12

mjp0 opened this issue Jul 12, 2017 · 1 comment

Comments

@mjp0
Copy link

mjp0 commented Jul 12, 2017

I can't compile this no matter what I try with macOS 10.12.4.

sh scripts/make_deep_image_analogy.sh fails with deep_image_analogy/source/Classifier.h:3:10: fatal error: 'caffe/caffe.hpp' file not found no matter which I try to include caffe. I've compiled caffe that comes with this and I have compiled and tried caffe straight from the repo. I have tried to include caffe from both caffe build locations with relative paths and with absolute paths just to make sure but nothing works. caffe/caffe.hpp file always exists but the compiler just doesn't find it and I'm out of ideas what to try. Caffe runs its tests so the build should be ok.

I hope somebody would be kind and throw out some ideas what to try next to include caffe.hpp.

@mjp0
Copy link
Author

mjp0 commented Jul 12, 2017

I solved this literally 2 minutes after posting this after fighting 4 hours with it. I don't have much experience with compiling so my mistake was assuming -L works like env variables and I put /path:/path2. So if anybody else is fighting with the same issue, do one -L and -I per path if needed.

Excuse me my inexperience.

@mjp0 mjp0 closed this as completed Jul 12, 2017
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