strawlab/python-pcl

WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory

Opened this issue · 6 comments

fatal error

Your Environment

  • Operating System and version:WIN10
  • PCL Version:1.8.0
  • Cython Version:0.25.2
  • Python: 3.6

Context

during building "pcl._pcl" extension, some error happened:
pcl_pcl_180.cpp(454): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

image

may somebody tell me how to fix it?

ZMIOT commented

Did you resolve this issue?i have the same problem as you

Did you resolve this issue?i have the same problem as you

No. I have given up and used C++.

ZMIOT commented

Did you resolve this issue?i have the same problem as you

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<notifications@github.com>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<python-pcl@noreply.github.com>; 抄送: "江流芳甸"<2890340126@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [strawlab/python-pcl] WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory (#326) Did you resolve this issue?i have the same problem as you No. I have given up and used C++. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<notifications@github.com>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<python-pcl@noreply.github.com>; 抄送: "江流芳甸"<2890340126@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [strawlab/python-pcl] WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory (#326) Did you resolve this issue?i have the same problem as you No. I have given up and used C++. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<notifications@github.com>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<python-pcl@noreply.github.com>; 抄送: "江流芳甸"<2890340126@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [strawlab/python-pcl] WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory (#326) Did you resolve this issue?i have the same problem as you No. I have given up and used C++. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<notifications@github.com>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<python-pcl@noreply.github.com>; 抄送: "江流芳甸"<2890340126@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [strawlab/python-pcl] WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory (#326) Did you resolve this issue?i have the same problem as you No. I have given up and used C++. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<notifications@github.com>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<python-pcl@noreply.github.com>; 抄送: "江流芳甸"<2890340126@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [strawlab/python-pcl] WIN10+1.8.0PCL install--fatal error:'boost/shared_ptr.hpp': No such file or directory (#326) Did you resolve this issue?i have the same problem as you No. I have given up and used C++. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

I think something wrong with VS2015. “Microsoft Visual Studio 14.0” means VS2015. Maybe you should install VS2015 or VS2017 first. This is my solution but I haven't tried yet

ZMIOT commented

I think the problem is you not set the environment variable correct. (Since I had same problem at first)
You need to add the corresponding 3rd path bin to PATH
And, note that the OPENNI2 need to add lib, tools, redist as well

By setting this, I can using PCL 1.9 on win10 (with VS2019)
Result example: https://i.imgur.com/1say4Zd.png