-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCL vcpkg integrate install didn't work #2323
Comments
I confirmed this problem. @ras0219-msft @alexkaratarakis Can you give me some advice?
|
@danieltak |
scripts/buildsystems/msbuild/vcpkg.targets does not seem to support |
I have the same issue with VS2017 (v15.4.5) and x86-windows-static/x64-windows-static triplet.
However, while trying a simple application in VS2017 including boost, I get compilation error :
|
The same issue happened using:
|
I was able to make vcpkg to work after manually updating vcpkg.targets file (scripts\buildsystems\msbuild\vcpkg.targets) by changing "x86-windows" to "x86-windows-static" and "x64-windows" to "x64-windows-static". |
@danieltak I think that I recommend editing and using triplet files that named |
same problem. https://blogs.msdn.microsoft.com/vcblog/2016/11/01/vcpkg-updates-static-linking-is-now-available/ |
Hi everyone, thanks for reporting this issue! |
Hi, Could someone tell how can I install MSMPI? @UnaNancyOwen some weeks ago I tried to install PCL using windows installer, but as you might remember the post, I could not do it. I am currently trying to install PCL using .\vcpkg install pcl:x64-windows-static. After installation I get error: Error: Building package pcl:x64-windows-static failed with: BUILD_FAILED |
@petrasvestartas You can simply install msmpi using |
Problem
I was learning PCL on Ubuntu, however, since the program must be created for Windows, i am trying to learn how to use on Visual Studio 2015. So vcpkg was used to install as a package manager.
After the installation,
vcpkg integrate install
command was written. I tried to test PCL with a sample code. However, this error code was displayed:The Environment Variable
Path ;C:/PCL/vcpkg
was added.TL;DR
I installed PCL with this Tutorial , going to explain how.
How was installed
Using
vcpkg install pcl:x64-windows-static
Had an issue:
So refering to this issue #1375 , it was solved by opening the directory below:
Then the msmpi is installed manually, opening this two files:
And with this fix, the PCL was installed.
Testing the installation
With the command
vcpkg integrate install
This is the output:
And with
vcpkg lists
:So when i used Visual Studio 2015, on
there is
$(VcpkgRoot)lib\*.lib
on Inherited Values of Additional Dependencies.So i tried to build this sample PCL program:
With no success and an error message was displayed:
The text was updated successfully, but these errors were encountered: