
Hello, I am using the DateTime library's to/from string functionality but not the DateTime serialization functionality. However, when I build my program boost auto linking keeps trying to link against the serialization library. Is there a way I can build and link against DateTime without auto linking against serialization? I am using visual studio 2013 and boost 1.55. Thanks, Dan Sent with Good (www.good.com)

Hello, I am using the DateTime library's to/from string functionality but not the DateTime serialization functionality. However, when I build my program boost auto linking keeps trying to link against the serialization library. Is there a way I can build and link against DateTime without auto linking against serialization? I am using visual studio 2013 and boost 1.55.
Define BOOST_SERIALIZATION_NO_LIB to disable auto-linking of serialization. However... you should need to #include the date_time serialization code in order to use iostream output? John.

looks like one or both of the files gregorian/greg_serialize.hpp posix_time/time_serialize.hpp are getting included somewhere. I would guess if you can make sure these aren't included - you shouldn't have the problem. -- View this message in context: http://boost.2283326.n4.nabble.com/DateTime-without-serialization-tp4664834p... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (3)
-
John Maddock
-
Macumber, Daniel
-
Robert Ramey