Boost Serialization and MFC: “cannot open file 'libboost_serialization-vc141-mt-s-x32-1_69.lib' ”

  • Thread starter Thread starter Danzellen
  • Start date Start date
D

Danzellen

Guest
I'm currently trying to use boost for serialization in my project. I started by following this demo and making sure I could get boost working on Visual Studio:

libs/serialization/example/demo.cpp - 1.69.0

After following this demo, I added boost onto my project where I ran into some issues. When I change "Use Standard Windows Libraries" to "Use MFC in a Static Library" I get the error:

cannot open file 'libboost_serialization-vc141-mt-s-x32-1_69.lib'

More specifically this happens for the following includes.

#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/serialization/list.hpp>

I'm new to boost, so what I'm wondering is why this would be occurring and how necessary these are for data storage. If fundamental, how would I go about fixing it?

Continue reading...
 
Back
Top