python-pcl icon indicating copy to clipboard operation
python-pcl copied to clipboard

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

Open EskApeeee opened this issue 5 years ago • 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?

EskApeeee avatar Oct 24 '19 02:10 EskApeeee

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

ZMIOT avatar Dec 12 '19 08:12 ZMIOT

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

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

EskApeeee avatar Dec 12 '19 09:12 EskApeeee

ok,thank you!

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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.

ZMIOT avatar Dec 12 '19 09:12 ZMIOT

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

ok,thank you! ------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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

EskApeeee avatar Dec 12 '19 09:12 EskApeeee

Ok, I'll try. I'll let you know if I get any results

------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:15 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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

ok,thank you! … ------------------ 原始邮件 ------------------ 发件人: "BrightyeahWang"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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"<[email protected]>; 发送时间: 2019年12月12日(星期四) 下午5:08 收件人: "strawlab/python-pcl"<[email protected]>; 抄送: "江流芳甸"<[email protected]>; "Comment"<[email protected]>; 主题: 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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ZMIOT avatar Dec 12 '19 09:12 ZMIOT

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

moonstarsky37 avatar Sep 16 '20 06:09 moonstarsky37