j****i 发帖数: 305 | 1 I have a sample file and I could get it to compile.
code:
/////////1/////////2/////////3/////////4/////////5/////////6/////////7//////
///8
// demo.cpp
//
// (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include
#include
#include
#include
#include | j****i 发帖数: 305 | 2 Never mind, I got it. Boost serialization is not header-only, it needs to be
built separately.
//
【在 j****i 的大作中提到】 : I have a sample file and I could get it to compile. : code: : /////////1/////////2/////////3/////////4/////////5/////////6/////////7////// : ///8 : // demo.cpp : // : // (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . : // Use, modification and distribution is subject to the Boost Software : // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at : // http://www.boost.org/LICENSE_1_0.txt)
|
|