由于 boost::filesystem 导致编译错误

发布于 2024-11-29 11:47:37 字数 1243 浏览 0 评论 0原文

我正在 Osx 中编译一个软件,它返回了这个错误:

/Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc: In static member function ‘static std::string utilmm::ConfigurationFinder::search(const std::string&, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:56: error: ‘exists’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:58: error: ‘system_complete’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:69: error: ‘exists’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:71: error: ‘system_complete’ is not a member of ‘boost::filesystem’

有谁知道如何修复它吗?

我有 boost @1.47.0_0+debug+python26

谢谢卢卡

I'm compiling a software in Osx and it returned this error:

/Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc: In static member function ‘static std::string utilmm::ConfigurationFinder::search(const std::string&, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:56: error: ‘exists’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:58: error: ‘system_complete’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:69: error: ‘exists’ is not a member of ‘boost::filesystem’
  /Users/luca/Software/ros-stacks/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:71: error: ‘system_complete’ is not a member of ‘boost::filesystem’

Does anyone know ho to fix it?

I have boost @1.47.0_0+debug+python26

Thanks Luca

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心的憧憬 2024-12-06 11:47:37

根据这篇帖子开发者论坛,该问题是您正在构建的软件中的错误,该错误将在后续版本中修复。

According to this post on the developer's forums, the issue is a bug in the software you're building that will be fixed in a subsequent release.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文