首页 > 代码库 > 编译GraphLab出错

编译GraphLab出错

/src/graphlab-master/deps/local/include/boost/atomic/atomic.hpp:166:16: error: ‘uintptr_t’ was not declared in this scope
typedef atomic<uintptr_t> atomic_uintptr_t;
^
/src/graphlab-master/deps/local/include/boost/atomic/atomic.hpp:166:25: error: template argument 1 is invalid
typedef atomic<uintptr_t> atomic_uintptr_t;
^
/src/graphlab-master/deps/local/include/boost/atomic/atomic.hpp:166:43: error: invalid type in declaration before ‘;’ token
typedef atomic<uintptr_t> atomic_uintptr_t;

找到解决方法:

https://svn.boost.org/trac/boost/ticket/7979