Vcpkg: [pangolin] Problems with installed library

Created on 24 Sep 2017  路  5Comments  路  Source: microsoft/vcpkg

Windows 10 x64, Visual Studio 14 Community Edition
Port: pangolin, 0.5-1
vcpkg: 0.0.89-2017-09-23-67e876c76555c466e4faf49d6cd80a88b835f972

After getting pangolin to install with this issue, and running vcpkg integrate install, and creating a sample project such as HelloPangolin, the sample is unable to build with 403 errors inside Error List window, and one fatal error in build Output window:

1>c:\users\USER\myprograms\vcpkg\installed\x64-windows\include\pangolin\platform.h(52): fatal error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory

By manually copying the file pangolin_export.h from buildtrees\pangolin\x64-windows-rel\src\include\pangolin to installed\x64-windows\include\pangolin, the error changes from the above to:

1>c:\users\USER\myprograms\vcpkg\installed\x64-windows\include\pangolin\gl\glplatform.h(56): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory

Very lost, and personally giving up for now. Perhaps it should be investigated if we can just use vcpkg ports of the pangolin dependencies.

port-bug

All 5 comments

Definitely! We have a port of pangolin integration in my vcpkg fork which does that with absolutely zero problems.

Please try with the updated port that picks dependencies from vcpkg.

There is an opengl port that should take care of that for you. Try:
vcpkg install opengl:x64-windows

@bakelew4953
133099fa2c46152474cfab052d0d1bcbc83749f2 should fix this issue.
It was indeed pulling in the wrong flavor of glew.

Hi @bakelew @paul-michalik @alexkaratarakis , thanks for reporting this issue!
I have fixed this issue in #5647. Please update and rebuild it.
Thx.

Was this page helpful?
0 / 5 - 0 ratings