未定义对apache :: thrift :: server :: TThreadedServer :: TThreadedServer的引用

时间:2018-07-23 04:29:29

标签: c++ boost thrift

我有使用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

step to link the program

0 个答案:

没有答案