Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

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

Open
EskApeeee opened this issue Oct 24, 2019 · 6 comments

Comments

@EskApeeee
Copy link

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
Copy link

ZMIOT commented Dec 12, 2019

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

@EskApeeee
Copy link
Author

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

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

@ZMIOT
Copy link

ZMIOT commented Dec 12, 2019 via email

@EskApeeee
Copy link
Author

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

@ZMIOT
Copy link

ZMIOT commented Dec 12, 2019 via email

@moonstarsky37
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants