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!