Hi Onarato,

Your boost compilation on C++ does it have boost thread support ?  Then you
can recompile thrift with boost thread support.


On Thu, Nov 28, 2013 at 12:28 PM, Jens Geyer <[email protected]> wrote:

> Hi Onorato,
>
> looks as if the ThreadedServer is indeed missing from both
> libthrift*.vcxproj files. I can't say whether this is by intention or not
> (maybe one of the C++ folks can chime in), but I would recommend to also
> have a look at the ThreadPool server. They have different usage scenarios
> and slightly different characteristics about how many threads may be
> created in the worst case.
>
> Have fun,
> JensG
>
>
>
> -----Ursprüngliche Nachricht----- From: Onorato Vaticone
> Sent: Thursday, November 28, 2013 7:43 PM
> To: [email protected]
> Subject: TThreadedServer link error
>
>
> Hi guys,
> I made a client-server application with thrift ... works great ... :-)
>
> I tried to replace, on the server side, the TSimpleServer with
> the TThreadedServer but I got a link error ...
>
> I'm using Win 7 with Apache thrift 0.9.1 ... VS2010 ...
>
> error LNK2001: unresolved external symbol "public: virtual __thiscall
> apache::thrift::server::TThreadedServer::~TThreadedServer(void)"
> (??1TThreadedServer@server@thrift@apache@@UAE@XZ)
> error LNK2001: unresolved external symbol "public: virtual void __thiscall
> apache::thrift::server::TThreadedServer::serve(void)"
> (?serve@TThreadedServer@server@thrift@apache@@UAEXXZ)
> error LNK2001: unresolved external symbol "protected: void __thiscall
> apache::thrift::server::TThreadedServer::init(void)"
> (?init@TThreadedServer
> @server@thrift@apache@@IAEXXZ)
>
> I thought that class was into the thrift lib ... ? am I missing something?
> TIA
> Onorato.
>



-- 
Best,
Bryan Pham
Co-Founder and CTO, CloudTenna Inc.

Reply via email to