簡體   English   中英

使用點雲庫(PCL)時Boost的問題

[英]Problems with Boost when using Point Cloud Library (PCL)

我在Windows 10 64位下工作並使用Visual Studio 2017(15.9.5)。 通過vcpkg,我安裝了所有依賴項的PCL(vcpkg install pcl:x64-windows)。 我有以下版本:BOOST 1.68.0,PCL 1.9.1-1。

例如,如果我只添加#include <pcl/io/pcd_io.h>#include <pcl/io/pcd_io.h>得到:

E0145   member "boost::filesystem::path::separator" may not be initialized 

E0145   member "boost::filesystem::path::preferred_separator" may not be initialized 

E0145   member "boost::filesystem::path::dot" may not be initialized 

E2512   the argument to a feature-test macro must be a simple identifier 

E0434 A reference of type "boost::filesystem::path::iterator &" (not const-qualified) cannot be initialized with "boost::filesystem::path::iterator"

E0145成員插入#define BOOST_FILESYSTEM_SOURCE 可能未初始化-cmake-VS2017似乎正在修復E0145錯誤。 我仍然有E2512和E0434。

我在Boost,PCL和其他存儲庫中搜索解決方案,但一無所獲。 任何幫助將不勝感激。

在項目文件(使用項目屬性屬性表訪問)的C / C ++部分的“常規”條目中,您具有其他包含目錄字段,可在其中設置頭文件的搜索路徑。

暫無
暫無

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

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