[ 
https://issues.apache.org/jira/browse/THRIFT-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962185#comment-15962185
 ] 

Raul Garcês commented on THRIFT-3996:
-------------------------------------

Hello,

I faced the same issue. I found as solution adding all Thrift library .cpp 
files to the VS project. Afterwards the library will be correctly built and 
linking against is no longer a problem.

Best regards.

> Linker errors with cpp tutorial files
> -------------------------------------
>
>                 Key: THRIFT-3996
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3996
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9.3
>         Environment: Windows 7, VisualStudio 2010
>            Reporter: Andres Männer
>
> using the tutorial files from here: https://thrift.apache.org/tutorial/cpp in 
> a Visual Studio Project.
> Linking brings following Errors:
> Error 1       error LNK2019: unresolved external symbol "public: void __cdecl 
> apache::thrift::TOutput::printf(char const *,...)" 
> (?printf@TOutput@thrift@apache@@QAAXPBDZZ) referenced in function "public: 
> virtual bool __thiscall apache::thrift::TDispatchProcessor::process(class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocol>,class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocol>,void *)" 
> (?process@TDispatchProcessor@thrift@apache@@UAE_NV?$shared_ptr@VTProtocol@protocol@thrift@apache@@@boost@@0PAX@Z)
>       D:\ProjectData\thrift\Testprojekt\Calculator.obj        
> Testprojekt_server
> Error 2       error LNK2001: unresolved external symbol "public: void __cdecl 
> apache::thrift::TOutput::printf(char const *,...)" 
> (?printf@TOutput@thrift@apache@@QAAXPBDZZ)   
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 3       error LNK2001: unresolved external symbol "public: void __cdecl 
> apache::thrift::TOutput::printf(char const *,...)" 
> (?printf@TOutput@thrift@apache@@QAAXPBDZZ)   
> D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj     
> Testprojekt_server
> Error 4       error LNK2001: unresolved external symbol "public: void __cdecl 
> apache::thrift::TOutput::printf(char const *,...)" 
> (?printf@TOutput@thrift@apache@@QAAXPBDZZ)   
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TServerSocket.obj)      
> Testprojekt_server
> Error 5       error LNK2001: unresolved external symbol "class 
> apache::thrift::TOutput apache::thrift::GlobalOutput" 
> (?GlobalOutput@thrift@apache@@3VTOutput@12@A)    
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSocket.obj)    
> Testprojekt_server
> Error 6       error LNK2001: unresolved external symbol "class 
> apache::thrift::TOutput apache::thrift::GlobalOutput" 
> (?GlobalOutput@thrift@apache@@3VTOutput@12@A)    
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 7       error LNK2001: unresolved external symbol "class 
> apache::thrift::TOutput apache::thrift::GlobalOutput" 
> (?GlobalOutput@thrift@apache@@3VTOutput@12@A)    
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 8       error LNK2001: unresolved external symbol "class 
> apache::thrift::TOutput apache::thrift::GlobalOutput" 
> (?GlobalOutput@thrift@apache@@3VTOutput@12@A)    
> D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj     
> Testprojekt_server
> Error 9       error LNK2001: unresolved external symbol "class 
> apache::thrift::TOutput apache::thrift::GlobalOutput" 
> (?GlobalOutput@thrift@apache@@3VTOutput@12@A)    
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TServerSocket.obj)      
> Testprojekt_server
> Error 10      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentSendSentry::~TConcurrentSendSentry(void)" 
> (??1TConcurrentSendSentry@async@thrift@apache@@QAE@XZ) referenced in function 
> "public: int __thiscall 
> tutorial::CalculatorConcurrentClient::send_ping(void)" 
> (?send_ping@CalculatorConcurrentClient@tutorial@@QAEHXZ) 
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 11      error LNK2001: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentSendSentry::~TConcurrentSendSentry(void)" 
> (??1TConcurrentSendSentry@async@thrift@apache@@QAE@XZ)        
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 12      error LNK2019: unresolved external symbol "public: void 
> __thiscall apache::thrift::async::TConcurrentSendSentry::commit(void)" 
> (?commit@TConcurrentSendSentry@async@thrift@apache@@QAEXXZ) referenced in 
> function "public: int __thiscall 
> tutorial::CalculatorConcurrentClient::send_ping(void)" 
> (?send_ping@CalculatorConcurrentClient@tutorial@@QAEHXZ)       
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 13      error LNK2001: unresolved external symbol "public: void 
> __thiscall apache::thrift::async::TConcurrentSendSentry::commit(void)" 
> (?commit@TConcurrentSendSentry@async@thrift@apache@@QAEXXZ)      
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 14      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentSendSentry::TConcurrentSendSentry(class 
> apache::thrift::async::TConcurrentClientSyncInfo *)" 
> (??0TConcurrentSendSentry@async@thrift@apache@@QAE@PAVTConcurrentClientSyncInfo@123@@Z)
>  referenced in function "public: int __thiscall 
> tutorial::CalculatorConcurrentClient::send_ping(void)" 
> (?send_ping@CalculatorConcurrentClient@tutorial@@QAEHXZ)     
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 15      error LNK2001: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentSendSentry::TConcurrentSendSentry(class 
> apache::thrift::async::TConcurrentClientSyncInfo *)" 
> (??0TConcurrentSendSentry@async@thrift@apache@@QAE@PAVTConcurrentClientSyncInfo@123@@Z)
>     D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 16      error LNK2019: unresolved external symbol "public: int 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::generateSeqId(void)" 
> (?generateSeqId@TConcurrentClientSyncInfo@async@thrift@apache@@QAEHXZ) 
> referenced in function "public: int __thiscall 
> tutorial::CalculatorConcurrentClient::send_ping(void)" 
> (?send_ping@CalculatorConcurrentClient@tutorial@@QAEHXZ)  
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 17      error LNK2001: unresolved external symbol "public: int 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::generateSeqId(void)" 
> (?generateSeqId@TConcurrentClientSyncInfo@async@thrift@apache@@QAEHXZ) 
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 18      error LNK2019: unresolved external symbol "public: void 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::waitForWork(int)" 
> (?waitForWork@TConcurrentClientSyncInfo@async@thrift@apache@@QAEXH@Z) 
> referenced in function "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z)    
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 19      error LNK2001: unresolved external symbol "public: void 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::waitForWork(int)" 
> (?waitForWork@TConcurrentClientSyncInfo@async@thrift@apache@@QAEXH@Z)    
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 20      error LNK2019: unresolved external symbol "public: void 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::updatePending(class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &,enum 
> apache::thrift::protocol::TMessageType,int)" 
> (?updatePending@TConcurrentClientSyncInfo@async@thrift@apache@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4TMessageType@protocol@34@H@Z)
>  referenced in function "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z) 
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 21      error LNK2001: unresolved external symbol "public: void 
> __thiscall 
> apache::thrift::async::TConcurrentClientSyncInfo::updatePending(class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &,enum 
> apache::thrift::protocol::TMessageType,int)" 
> (?updatePending@TConcurrentClientSyncInfo@async@thrift@apache@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4TMessageType@protocol@34@H@Z)
>  D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 22      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentRecvSentry::~TConcurrentRecvSentry(void)" 
> (??1TConcurrentRecvSentry@async@thrift@apache@@QAE@XZ) referenced in function 
> "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z)        
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 23      error LNK2001: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentRecvSentry::~TConcurrentRecvSentry(void)" 
> (??1TConcurrentRecvSentry@async@thrift@apache@@QAE@XZ)        
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 24      error LNK2019: unresolved external symbol "public: void 
> __thiscall apache::thrift::async::TConcurrentRecvSentry::commit(void)" 
> (?commit@TConcurrentRecvSentry@async@thrift@apache@@QAEXXZ) referenced in 
> function "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z)      
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 25      error LNK2001: unresolved external symbol "public: void 
> __thiscall apache::thrift::async::TConcurrentRecvSentry::commit(void)" 
> (?commit@TConcurrentRecvSentry@async@thrift@apache@@QAEXXZ)      
> D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 26      error LNK2019: unresolved external symbol "public: bool 
> __thiscall apache::thrift::async::TConcurrentClientSyncInfo::getPending(class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > &,enum apache::thrift::protocol::TMessageType &,int 
> &)" 
> (?getPending@TConcurrentClientSyncInfo@async@thrift@apache@@QAE_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAW4TMessageType@protocol@34@AAH@Z)
>  referenced in function "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z)    
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 27      error LNK2001: unresolved external symbol "public: bool 
> __thiscall apache::thrift::async::TConcurrentClientSyncInfo::getPending(class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > &,enum apache::thrift::protocol::TMessageType &,int 
> &)" 
> (?getPending@TConcurrentClientSyncInfo@async@thrift@apache@@QAE_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAW4TMessageType@protocol@34@AAH@Z)
>     D:\ProjectData\thrift\Testprojekt\SharedService.obj     Testprojekt_server
> Error 28      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentRecvSentry::TConcurrentRecvSentry(class 
> apache::thrift::async::TConcurrentClientSyncInfo *,int)" 
> (??0TConcurrentRecvSentry@async@thrift@apache@@QAE@PAVTConcurrentClientSyncInfo@123@H@Z)
>  referenced in function "public: void __thiscall 
> tutorial::CalculatorConcurrentClient::recv_ping(int)" 
> (?recv_ping@CalculatorConcurrentClient@tutorial@@QAEXH@Z)       
> D:\ProjectData\thrift\Testprojekt\Calculator.obj        Testprojekt_server
> Error 29      error LNK2001: unresolved external symbol "public: __thiscall 
> apache::thrift::async::TConcurrentRecvSentry::TConcurrentRecvSentry(class 
> apache::thrift::async::TConcurrentClientSyncInfo *,int)" 
> (??0TConcurrentRecvSentry@async@thrift@apache@@QAE@PAVTConcurrentClientSyncInfo@123@H@Z)
>        D:\ProjectData\thrift\Testprojekt\SharedService.obj     
> Testprojekt_server
> Error 30      error LNK2019: unresolved external symbol "public: virtual void 
> __thiscall apache::thrift::server::TServerFramework::serve(void)" 
> (?serve@TServerFramework@server@thrift@apache@@UAEXXZ) referenced in function 
> _main   D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj   
>   Testprojekt_server
> Error 31      error LNK2001: unresolved external symbol "public: virtual void 
> __thiscall apache::thrift::server::TServerFramework::serve(void)" 
> (?serve@TServerFramework@server@thrift@apache@@UAEXXZ)        
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 32      error LNK2019: unresolved external symbol "public: virtual 
> __thiscall 
> apache::thrift::protocol::TProtocolFactory::~TProtocolFactory(void)" 
> (??1TProtocolFactory@protocol@thrift@apache@@UAE@XZ) referenced in function 
> "public: virtual void * __thiscall 
> apache::thrift::protocol::TProtocolFactory::`scalar deleting 
> destructor'(unsigned int)" 
> (??_GTProtocolFactory@protocol@thrift@apache@@UAEPAXI@Z)      
> D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj     
> Testprojekt_server
> Error 33      error LNK2019: unresolved external symbol "public: virtual 
> __thiscall apache::thrift::protocol::TProtocol::~TProtocol(void)" 
> (??1TProtocol@protocol@thrift@apache@@UAE@XZ) referenced in function "public: 
> virtual __thiscall 
> apache::thrift::protocol::TProtocolDefaults::~TProtocolDefaults(void)" 
> (??1TProtocolDefaults@protocol@thrift@apache@@UAE@XZ)      
> D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj     
> Testprojekt_server
> Error 34      error LNK2001: unresolved external symbol "public: virtual 
> unsigned int __thiscall apache::thrift::protocol::TProtocol::skip_virt(enum 
> apache::thrift::protocol::TType)" 
> (?skip_virt@TProtocol@protocol@thrift@apache@@UAEIW4TType@234@@Z)      
> D:\ProjectData\thrift\Testprojekt\SharedService_server.skeleton.obj     
> Testprojekt_server
> Error 35      error LNK2019: unresolved external symbol "public: virtual 
> __thiscall apache::thrift::server::TServerFramework::~TServerFramework(void)" 
> (??1TServerFramework@server@thrift@apache@@UAE@XZ) referenced in function 
> __unwindfunclet$??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z$0
>   D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 36      error LNK2019: unresolved external symbol "public: virtual void 
> __thiscall 
> apache::thrift::server::TServerFramework::setConcurrentClientLimit(__int64)" 
> (?setConcurrentClientLimit@TServerFramework@server@thrift@apache@@UAEX_J@Z) 
> referenced in function "public: __thiscall 
> apache::thrift::server::TSimpleServer::TSimpleServer(class 
> boost::shared_ptr<class apache::thrift::TProcessorFactory> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::protocol::TProtocolFactory> const &)" 
> (??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z)
>      D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 37      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::server::TServerFramework::TServerFramework(class 
> boost::shared_ptr<class apache::thrift::TProcessorFactory> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::protocol::TProtocolFactory> const &)" 
> (??0TServerFramework@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z)
>  referenced in function "public: __thiscall 
> apache::thrift::server::TSimpleServer::TSimpleServer(class 
> boost::shared_ptr<class apache::thrift::TProcessorFactory> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::protocol::TProtocolFactory> const &)" 
> (??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z)
>      D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 38      error LNK2001: unresolved external symbol "public: virtual void 
> __thiscall apache::thrift::server::TServerFramework::stop(void)" 
> (?stop@TServerFramework@server@thrift@apache@@UAEXXZ)  
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 39      error LNK2001: unresolved external symbol "public: virtual 
> __int64 __thiscall 
> apache::thrift::server::TServerFramework::getConcurrentClientLimit(void)const 
> " (?getConcurrentClientLimit@TServerFramework@server@thrift@apache@@UBE_JXZ)  
>       D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 40      error LNK2001: unresolved external symbol "public: virtual 
> __int64 __thiscall 
> apache::thrift::server::TServerFramework::getConcurrentClientCount(void)const 
> " (?getConcurrentClientCount@TServerFramework@server@thrift@apache@@UBE_JXZ)  
>       D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 41      error LNK2001: unresolved external symbol "public: virtual 
> __int64 __thiscall 
> apache::thrift::server::TServerFramework::getConcurrentClientCountHWM(void)const
>  " 
> (?getConcurrentClientCountHWM@TServerFramework@server@thrift@apache@@UBE_JXZ) 
>  D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 42      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::server::TServerFramework::TServerFramework(class 
> boost::shared_ptr<class apache::thrift::TProcessor> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::protocol::TProtocolFactory> const &)" 
> (??0TServerFramework@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessor@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z)
>  referenced in function "public: __thiscall 
> apache::thrift::server::TSimpleServer::TSimpleServer(class 
> boost::shared_ptr<class apache::thrift::TProcessor> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::protocol::TProtocolFactory> const &)" 
> (??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessor@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@@Z)
>  D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 43      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::server::TServerFramework::TServerFramework(class 
> boost::shared_ptr<class apache::thrift::TProcessorFactory> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::transport::TTransportFactory> const &,class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> const 
> &,class boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> 
> const &)" 
> (??0TServerFramework@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@2ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@3@Z)
>  referenced in function "public: __thiscall 
> apache::thrift::server::TSimpleServer::TSimpleServer(class 
> boost::shared_ptr<class apache::thrift::TProcessorFactory> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::transport::TTransportFactory> const &,class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> const 
> &,class boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> 
> const &)" 
> (??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessorFactory@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@2ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@3@Z)
>      D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 44      error LNK2019: unresolved external symbol "public: __thiscall 
> apache::thrift::server::TServerFramework::TServerFramework(class 
> boost::shared_ptr<class apache::thrift::TProcessor> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::transport::TTransportFactory> const &,class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> const 
> &,class boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> 
> const &)" 
> (??0TServerFramework@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessor@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@2ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@3@Z)
>  referenced in function "public: __thiscall 
> apache::thrift::server::TSimpleServer::TSimpleServer(class 
> boost::shared_ptr<class apache::thrift::TProcessor> const &,class 
> boost::shared_ptr<class apache::thrift::transport::TServerTransport> const 
> &,class boost::shared_ptr<class apache::thrift::transport::TTransportFactory> 
> const &,class boost::shared_ptr<class 
> apache::thrift::transport::TTransportFactory> const &,class 
> boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> const 
> &,class boost::shared_ptr<class apache::thrift::protocol::TProtocolFactory> 
> const &)" 
> (??0TSimpleServer@server@thrift@apache@@QAE@ABV?$shared_ptr@VTProcessor@thrift@apache@@@boost@@ABV?$shared_ptr@VTServerTransport@transport@thrift@apache@@@5@ABV?$shared_ptr@VTTransportFactory@transport@thrift@apache@@@5@2ABV?$shared_ptr@VTProtocolFactory@protocol@thrift@apache@@@5@3@Z)
>  D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSimpleServer.obj)      
> Testprojekt_server
> Error 45      error LNK2019: unresolved external symbol "public: void 
> __thiscall apache::thrift::TOutput::perror(char const *,int)" 
> (?perror@TOutput@thrift@apache@@QAEXPBDH@Z) referenced in function "public: 
> virtual void __thiscall 
> apache::thrift::transport::TServerSocket::listen(void)" 
> (?listen@TServerSocket@transport@thrift@apache@@UAEXXZ)       
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TServerSocket.obj)      
> Testprojekt_server
> Error 46      error LNK2001: unresolved external symbol "public: void 
> __thiscall apache::thrift::TOutput::perror(char const *,int)" 
> (?perror@TOutput@thrift@apache@@QAEXPBDH@Z)       
> D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSocket.obj)    
> Testprojekt_server
> Error 47      error LNK2019: unresolved external symbol "public: static class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > __cdecl apache::thrift::TOutput::strerror_s(int)" 
> (?strerror_s@TOutput@thrift@apache@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
>  referenced in function "public: __thiscall 
> apache::thrift::transport::TTransportException::TTransportException(enum 
> apache::thrift::transport::TTransportException::TTransportExceptionType,class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &,int)" 
> (??0TTransportException@transport@thrift@apache@@QAE@W4TTransportExceptionType@0123@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
>        D:\ProjectData\thrift\Testprojekt\libthrift.lib(TServerSocket.obj)     
>  Testprojekt_server
> Error 48      error LNK2001: unresolved external symbol "public: static class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > __cdecl apache::thrift::TOutput::strerror_s(int)" 
> (?strerror_s@TOutput@thrift@apache@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
>   D:\ProjectData\thrift\Testprojekt\libthrift.lib(TSocket.obj)    
> Testprojekt_server
> Error 49      error LNK1120: 28 unresolved externals  
> D:\ProjectData\thrift\Testprojekt\Debug\Testprojekt_server.exe  
> Testprojekt_server



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to