Tutorial for C++ with Redis Intel TBB on Ubuntu Linux

(Last Updated On: August 11, 2016)

Tutorial for C++ with Redis Intel TBB on Ubuntu Linux

Insrtuctions and checklist

Download and install TBB

 

http://stackoverflow.com/questions/25616064/how-to-get-threaded-building-blocks-working-in-ubuntu-14-04

 

Download and build Hiredis C driver

 

http://codingsteps.com/installing-using-hiredis-c-client-library-for-redis/

 

C++ driver for Redis: https://github.com/luca3m/redis3m

Use Install instructions

sudo apt-get install libmsgpack-dev libboost-thread-dev libboost-date-time-dev libboost-test-dev libboost-filesystem-dev libboost-system-dev libhiredis-dev cmake build-essential

 

git clone https://github.com/luca3m/redis3m

cd redis3m

cmake

make

sudo make install

 

In Codeblocks,for each project ensure you tell where the include path (for **h header files). Also, ensure you configure library path for redis3m.so (and any other dependable libraries are included)

 

Build options->Linker settings (tab) and Search Directories (for compiler)

 

More links:
</div>
More links:

http://www.codeblocks.org/downloads/26

http://askubuntu.com/questions/499238/cmake-cant-find-pthread

http://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu

http://stackoverflow.com/questions/24813827/cmake-failing-to-detect-pthreads-due-to-warnings/25130590#25130590

http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/
<div class=”feature-section–center”>

 

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

https://www.linode.com/docs/databases/redis/redis-on-ubuntu-12-04-precise-pangolin

 

https://github.com/redis/hiredis

 

http://codingsteps.com/installing-using-hiredis-c-client-library-for-redis/

 

http://stackoverflow.com/questions/24813827/cmake-failing-to-detect-pthreads-due-to-warnings/25130590#25130590

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

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 Quant Development and tagged , , , , , , 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