I have installed boost_1_41_0 and try to follow some tutorials on xml parsing:
#include <boost/property_tree/ptree.hpp>
int main(){
using boost::property_tree::ptree;
ptree pt;
cout<<"Here is an XML test!\n";
return 0;
}
But the problem is that the boost can not find the required header:
gcc.compile.c++ bin/gcc-4.6.0/debug/main.o
main.cpp:1:46: fatal error: boost/property_tree/ptree.hpp: No such file or directory
compilation terminated.
Using "" instead of <> does not help either. I also tried to pass the option cxxflags=-I/pass/to/this/header - this does not work too. Only if I use the full path to the header - it works, but it then depends on another header file, which it can not find.
So how to make boost installation look for its own include directories? Thanks.