Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[opencv3[vtk]] build failure #11331

Closed
RamadanAhmed opened this issue May 13, 2020 · 1 comment · Fixed by #9960
Closed

[opencv3[vtk]] build failure #11331

RamadanAhmed opened this issue May 13, 2020 · 1 comment · Fixed by #9960
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@RamadanAhmed
Copy link
Contributor

RamadanAhmed commented May 13, 2020

Host Environment

  • OS: Windows
  • Compiler: Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv3[vtk]:x64-windows

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: ninja -v
    Working Directory: D:/vcpkg/buildtrees/opencv3/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\opencv3\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:297 (vcpkg_execute_required_process)
  ports/opencv3/portfile.cmake:237 (vcpkg_configure_cmake)
  scripts/ports.cmake:90 (include)


Error: Building package opencv3: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: opencv3:x64-windows
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

config-x64-windows-out.log

@RamadanAhmed RamadanAhmed added the category:port-bug The issue is with a library, which is something the port should already support label May 13, 2020
@RamadanAhmed RamadanAhmed changed the title [opencv[vtk]] build failure [opencv3[vtk]] build failure May 13, 2020
@JackBoosY
Copy link
Contributor

CMake Error at D:/vcpkg/installed/x64-windows/share/vtk/FindLibHaru.cmake:45 (_add_library):
  _add_library cannot create imported target "LibHaru::LibHaru" because
  another target with the same name already exists.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants