[英]undefined reference to boost::filesystem::detail::copy_file
Using boost_1_53_0 I am getting the above mentioned error. 使用boost_1_53_0我遇到了上述错误。 But interestingly I am also using boost::filesystem::create_directory and boost::tokenizer<>::iterator and some other boost functions which works very well.
但是有趣的是,我还使用了boost :: filesystem :: create_directory和boost :: tokenizer <> :: iterator以及其他一些效果很好的boost函数。 Am i missing something to include something in library path ?
我是否想在库路径中包含某些内容? or it could be some other reason ?
还是其他原因?
Your suggestions/comments ... please ? 您的建议/意见...请?
As explained on Boost intro pages ( http://www.boost.org/doc/libs/1_56_0/more/getting_started/windows.html#header-only-libraries ) 正如Boost简介页( http://www.boost.org/doc/libs/1_56_0/more/getting_started/windows.html#header-only-libraries )中所述
most Boost libraries are header-only: they consist entirely of header files containing templates and inline functions, and require no separately-compiled library binaries or special treatment when linking.
大多数Boost库都是仅标头的:它们完全由包含模板和内联函数的标头文件组成,并且在链接时不需要单独编译的库二进制文件或特殊处理。
But Boost.Filesystem is one of the Boost libraries that must be built separately. 但是Boost.Filesystem是必须单独构建的Boost库之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.