Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "ThriftUsageC++" page has been changed by ChrisLansman: http://wiki.apache.org/thrift/ThriftUsageC%2B%2B?action=diff&rev1=32&rev2=33 Comment: Quick compile needed additional defines to bring in the proper .h files needed to compile, also needed the path to the lib file. To quickly build a binary using a single command use: {{{ - g++ -Wall -I/usr/local/include/thrift *.cpp -lthrift -o something + g++ -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -Wall -I/usr/local/include/thrift *.cpp -L/usr/local/lib -lthrift -o something + }}} === Compiling === You need to point your compiler to the thrift include path (CXX flag: {{{ -I/usr/local/include/thrift}}})
