How to build FIx8 from Fix8.org for your C++ FIX for HFT with Oracle Berkley DB, TBB, and Poco

(Last Updated On: November 23, 2012)

How to build FIx8 from Fix8.org for your C++ FIX for HFT with Oracle Berkley DB,  TBB, and Poco

You need to run ./bootstrap first, then run ./configure

Before that, ensure to install TBB, Poco.  and Berkeley DB libraries which are dependencies.

apt-get install libtbb-dev

apt-get install poco*

sudo apt-get install libdb4.6-dev

 

Helpful links:

http://ubuntuforums.org/showthread.php?t=688480

http://www.xinotes.org/notes/note/1469/

Berkeley DB:

http://www.linuxfromscratch.org/blfs/view/svn/server/db.html

During the make, you may get errors of:

cc1plus: error: unrecognized command line option “-fvar-tracking-assignments-toggle”, I just made the libmyfix-flag … = to null in all test/Makefiles* and any references to it in the Makefile, Makefile.am, and Makefile.in

This builds but now I need to figure out how to to run this thing!

For CENTOS users:

fix server location

http://rpmfind.net/linux/RPM/centos/6.3/i386/CentOS.html

compat-db-4.6.21-15.el6.i686     The Berkeley DB database compatibility library
The Berkeley DB database library (version 4) for C     CentOS 6.3 for i386
db4-cxx-4.7.25-17.el6.i686     The Berkeley DB database library (version 4) for C++
db4-devel-static-4.7.25-17.el6.i686     Berkeley DB (version 4) static libraries

For CentOS to install BDB, do:
yum install db4-devel-4.7.25-17.el6.i686

TBB library package needs to be installed:

tbb-devel-2.2-2.20090809.el5.i386.rpm

http://pkgs.org/centos-5-rhel-5/epel-i386/tbb-devel-2.2-2.20090809.el5.i386.rpm.html

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Featured, HFT High Frequency Trading, Premium Membership, Quant Development on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs