caffe2 icon indicating copy to clipboard operation
caffe2 copied to clipboard

hiredis include path

Open ghost opened this issue 7 years ago • 1 comments

The CMakeCache.txt of Caffe2 exposes following variables:

HIREDIS_INCLUDE_DIRS
HIREDIS_LIBRARIES Hiredis_INCLUDE_DIR Hiredis_LIBRARIES

Hiredis.h exists in a folder like following :

<install_path>/include/hiredis/hiredis.h

When in include_dirs, I provide <install_path>/include/hiredis, I get an error in some files because they specify the include as #include<hiredis/hiredis.h>

When I provide <install_path>/include, I get an error in some files because they specify the include as #include<hiredis/hiredis.h>

I also tried to provide both the paths separated by a;in the ccmake, but the problem persists ?

What is the reason behind this inconsistency ?

ghost avatar Nov 20 '17 09:11 ghost

Taking a look. Probably the caffe2 and gloo cmake files use them in a slightly different way...

pietern avatar Nov 20 '17 19:11 pietern