However, Thrift does not yet have an official tutorial, so, here is a very brief one. (I would resort to an official one once it is published.)
- Download Thrift from http://incubator.apache.org/thrift
- Unpack the .tar.gz file to create /tmp/thrift-0.2.0
- Configure, build and install
./configure --prefix=~/wyi/thrift-0.2.0 CXXFLAGS='-g -O2'
make
make install - Generate source code from tutorial.thrift
cd tutorial
Note that the -r flag indicates generating also include files. The result source code will be placed into a sub-directory named gen-cpp.
~wyi/thrift/bin/thrift -r --gen cpp tutorial - Compile example C++ server and client programs in tutorial/cpp
cd cpp
Note that you might want to change the Makefile to tell the lib and include directories where Thrift was installed.
make
5 comments:
I esteem your undertakings since it passes on the message of what you are endeavoring to state. It's an exceptional aptitude to make even the person who doesn't consider the subject could prepared to grasp the subject. Your web diaries are legitimate and moreover excessively portrayed. I might want to examine a regularly expanding number of captivating articles from your blog. Keep Sharing
Big Data Hadoop online training in Hyderabad, Noida
Online Hadoop training in Bangalore, Chennai, Pune
I esteem your undertakings since it passes on the message of what you are endeavoring to state. It's an exceptional aptitude to make even the person who doesn't consider the subject could prepared to grasp the subject. Your web diaries are legitimate and moreover excessively portrayed. I might want to examine a regularly expanding number of captivating articles from your blog. Keep Sharing
Tableau online training in India
Tableau online training in Hyderabad, Noida
فوم شوینده صورت برای پاک کردن صورت از آلودگی ها و جلوگیری از جوش زدن مناسب است.
This post is so interactive and informative. keep update more information...
devops training institutes in hyderabad
This post is so interactive and informative. Thanks for sharing this post.
devops-training-in-hyderabad
Post a Comment