我有使用Thrift的客户端服务器程序。
但是,它抛出以下错误:
对Apache :: thrift :: server :: TThreadedServer :: TThreadedServer的未定义引用(boost :: shared_ptr const&,boost :: shared_ptr const&,boost :: shared_ptr const&,boost :: shared_ptr const&,boost :: shared_ptr const&)
我使用以下步骤安装Thrift:
git cone https://github.com/apache/thrift.git
cd thrift
./bootstrap.sh
./configure --with-boost=/usr/local
cd test/cpp; ln -s . .libs; cd ../..
make -j4
make install
ldconfig