私は現在、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
それは愚か者の問題ですか、それとも私のせいですか?