-
Notifications
You must be signed in to change notification settings - Fork 236
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
Caffe_DIR in CMakeLists.txt #13
Comments
@aeitel , I encountered a similar error. While running catkin_make, I got the following I have already changed the CAFFE_DIR on line 28 of the CMakeList to my custom path /home/<my_username>/caffe/buid like mentioned in issue #7. @YuehChuan closed that issue, and I assumed changing the CAFFE_DIR path was the solution. However, it didn't work for me. Could anyone help us out? |
@aeitel change @BoboTheFFClown |
@YuehChuan @aeitel |
@BoboTheFFClown |
Thanks for the quick response. We have the same exact gcc version. I'm really confused to why it's not compiling on my end. @atenpas could you help us out with this issue. Much thanks. |
@BoboTheFFClown |
Okay so that's exactly what I changed in the CMakeLists but somehow it still fails to compile. The output CMake error is exactly the same as before. @aeitel I assumed you made a typo "Caffe_DIR" should be all uper-case right "CAFFE_DIR"? @aeitel and @YuehChuan can you all post code snippets from line 27 to line 30 of your CMakeLists? |
@BoboTheFFClown Can you access Caffe in other cmake projects? |
@atenpas yes, agile_grasp 2 complied successfully and I looked into its CMakeLists, it's pretty much the same thing as gpd's CMakeLists. |
@atenpas, this is what my CMakeLists looks like for linking caffe and the CMake error is still the same. |
AFAIK, if you follow BVLC/caffe#1667, your system should be able to find Caffe using find_package(Caffe). You could check this by creating a minimal cmake project that depends on Caffe and includes caffe/caffe.hpp. |
@atenpas, thanks for sharing this information, I'll try this out. Would it be okay to privately email you if I have further questions? for now I guess you can close this issue. Thanks everyone @aeitel , @YuehChuan |
Sure, just send me an email! |
Hi,
nice work with the package.
I needed to change CAFFE_DIR to Caffe_DIR in the CMakeLists.txt in order to be able to link with Caffe.
Otherwise I get:
fatal error: caffe/layers/memory_data_layer.hpp: No such file or directory
I am using 14.04, not sure why the original does not work.
The text was updated successfully, but these errors were encountered: