Skip to content
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

[libharu] syntax error: identifier 'HPDF_Boolean' #2106

Closed
darke1891 opened this issue Nov 2, 2017 · 1 comment
Closed

[libharu] syntax error: identifier 'HPDF_Boolean' #2106

darke1891 opened this issue Nov 2, 2017 · 1 comment

Comments

@darke1891
Copy link

darke1891 commented Nov 2, 2017

Hi, I use commit fae64c5 of vpkg to try to install VTK:x64-windows, and I failed.
My OS is Windows 7. I use PowerShell 3.0 and VS 2015 Update 3.
In terminal, I get error message as follows.

-- Build x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:43 (messag
    Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;
    Working Directory: D:/dev/vcpkg/buildtrees/vtk/x64-windows-rel
    See logs for more information:
      D:\dev\vcpkg\buildtrees\vtk\install-x64-windows-rel-out.log
      D:\dev\vcpkg\buildtrees\vtk\install-x64-windows-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:62 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/vtk/portfile.cmake:169 (vcpkg_install_cmake)
  scripts/ports.cmake:72 (include)


Error: Building package vtk:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: vtk:x64-windows
  Vcpkg version: 0.0.95-2017-11-01-fae64c544e86bfe327404b341b50d9e01dedea68

In install-x64-windows-rel-out.log, I find error message as follows:

D:\dev\vcpkg\installed\x64-windows\include\hpdf.h(464): error C2061: syntax error: identifier 'HPDF_Boolean'

In portfile of libharu, I find that the commit it uses is d84867ebf9f3de6afd661d2cdaff102457fbc371. Actually, there is an issue of this commit which covers this. Some guys suggested to change HPDF_Boolean to HPDF_BOOL, but this fix has not been accepted by authors. What's worse, it seems that there are no more updates of libharu, so maybe they have stopped development of libharu.

You can find another guy who got the same problem in the end of this issue

@ghost
Copy link

ghost commented Nov 4, 2017

Can someone test #2128?

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

No branches or pull requests

1 participant