error "flag 'tab

    xiaoxiao2021-11-29  24

    I meet the same problem:ERROR: something wrong with flag 'tab_completion_word' in file '/data/software/source/gflags-master/src/gflags_completions.cc'. 

    One possibility: file '/data/software/source/gflags-master/src/gflags_completions.cc' is being linked both statically and dyn..While searching tab_completion_word in the dependencies of build/tools/caffe, I got the following output:caffe $ grep -rnw tab_completion_word `ldd build/tools/caffe | sed 's/.*=> //g' | sed 's/ (.*//g'`Binary file /usr/local/lib/libglog.so.0 matchesBinary file /usr/local/lib/libgflags.so.2 matchesI think glog is linked to static libraries of gflags. 

    After rebuild glog which link to shared libraries of gflags, the problem solved.Hope this can help you (:

    https://github.com/BVLC/caffe/issues/1782

    转载请注明原文地址: https://ju.6miu.com/read-678688.html

    最新回复(0)