簡體   English   中英

對boost :: filesystem :: detail :: copy_file的未定義引用

[英]undefined reference to boost::filesystem::detail::copy_file

使用boost_1_53_0我遇到了上述錯誤。 但是有趣的是,我還使用了boost :: filesystem :: create_directory和boost :: tokenizer <> :: iterator以及其他一些效果很好的boost函數。 我是否想在庫路徑中包含某些內容? 還是其他原因?

您的建議/意見...請?

正如Boost簡介頁( http://www.boost.org/doc/libs/1_56_0/more/getting_started/windows.html#header-only-libraries )中所述

大多數Boost庫都是僅標頭的:它們完全由包含模板和內聯函數的標頭文件組成,並且在鏈接時不需要單獨編譯的庫二進制文件或特殊處理。

但是Boost.Filesystem是必須單獨構建的Boost庫之一。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM