Jump to content
  • Advertisement
Sign in to follow this  

Boost 1.5 with XML Why u no have ptree!?

This topic is 1252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, so for some effing reason. The new Boost libraries seem to have changed the xml loader libraries.


I can't seem to find the Ptree class anywhere. For example, if I type:


boost::property_tree::ptree ptree1;


I get an error, and I looked inside of the property_tree namespace, and ptree appears to be missing.


There are tutorials like this one: http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/tutorial.html


However, this doesn't apply to the later versions. I am suprised nobody has written a topic about this yet. How do you read in an xml file using Boost Property_tree!?

Edited by Solid_Spy

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!