I am currently trying to use the atomic_hashmaps from folly/facebook c++ library, but after the folly installation, if I simply require the lib like
#include <folly/AtomicHashMap.h>
The g++ compiler throws the following exception:
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.
I am compiling my C++ code with:
g++-5.1.0 -std=c++11 -o3 -lhiredis -fopenmp cartesian_zero.cpp
is it a folly's issue or my fault?