Install

Mac OS X

## 1 download thrift
https://github.com/apache/thrift/releases

## 2 install requirement

#### 2.1 boost
    $ brew install [email protected]
#### libevent [optional]
    $ brew install libevent
#### zlib [optional]
    $ brew install zlib

## 3 install thrift

## 4 problems
> fatal error: 'thrifty.h' file not found
  $ find . -type f -name '*.ll' -exec sed -i '' 's/thrifty.h/thrifty.hh/g' {} +

> fatal error: 'tr1/functional' file not found

Trash

Compile

'tr1/functional' file not found

flags

ordered comparison between pointer and zero

reference to 'shared_ptr' is ambiguous

Version

最后更新于

这有帮助吗?