我目前正在尝试使用folly/facebook c ++库中的atomic_hashmaps,但是在愚蠢的安装之后,如果我只需要像
那样的lib#include <folly/AtomicHashMap.h>
g ++编译器抛出以下异常:
In file included from /usr/local/include/folly/ThreadLocal.h:40:0,
from /usr/local/include/folly/ThreadCachedInt.h:31,
from /usr/local/include/folly/AtomicHashArray.h:41,
from /usr/local/include/folly/AtomicHashMap.h:93,
from cartesian_zero.cpp:11:
/usr/local/include/folly/Portability.h:203:20: fatal error: __config: No such file or directory
compilation terminated.
我用以下代码编译我的C ++代码:
g++-5.1.0 -std=c++11 -o3 -lhiredis -fopenmp cartesian_zero.cpp
这是一个愚蠢的问题还是我的错?