Code::Blocks and Boost libs.
Can anyone tell me how to set up Code::Blocks to use Boost libraries on a Windows system? I have installed and compiled the library set, and I followed the directions for global compiler-variables per the Code::Blocks web site. Yet, the compiler can never find the Boost header files. My setup is detailed below:
Boost Libs location: C:\Program Files\CodeBlocks\boost_1_44_0
In the .cpp file, I tried the following:
#include <boost/regex.hpp>
#include “boost/regex.hpp”
#include <boost\regex.hpp>
#include “boost\regex.hpp”
Setup in the Global Variable Editor:
Current Variable: boostlibs (a new entry)
Builtin Fields base: C:\Program Files\CodeBlocks\
Builtin Fields include: C:\Program Files\CodeBlocks\boost_1_44_0
I have also tried the following:
Builtin Fields base: C:\Program Files\CodeBlocks\boost_1_44_0
Builtin Fields include: C:\Program Files\CodeBlocks\boost_1_44_0\libs
and
Builtin Fields base: C:\Program Files\CodeBlocks\boost_1_44_0
Builtin Fields include: C:\Program Files\CodeBlocks\boost_1_44_0
Any help would be greatly appreciated!