So, I have to ask very noobish question, but I have been scrambling all over the Internet and I can't seem to find the anwser.
So, I decided to use Boost with Code::Blocks. I used BoostPro Installer and installed the latest version, which is 1.51.0.
So, directory where my Boost folder is located is :
C:/Program files/boost
That directory also contains one folder within it, so it's like this :
C:/Program files/boost/boost_1_51
So, my question is, how do setup my Code::Blocks so it can work. I did the following :
Went to Settings > Global Variables, created a new one called boost.
Set it's base to : C:\Program Files\boost\boost_1_51
Set it's include to : C:\Program Files\boost\boost_1_51\boost
Then, I went to my project, right-clicked it > Build Options > highlighted my root project > Search Directories.
Then, under my Compiler sub-tab, I clicked Add and added this :
$(#boost.include)
Under Linker sub-tab, I clicked Add and added this :
$(#boost.lib)
And I can't seem to compile sample code (located on official Boost web-site > Getting started).
Thanks in advance!