Coder Social home page Coder Social logo

[opencv] build failure about vcpkg HOT 5 OPEN

cyh19910216 avatar cyh19910216 commented on September 22, 2024
[opencv] build failure

from vcpkg.

Comments (5)

cyh19910216 avatar cyh19910216 commented on September 22, 2024 1

@cyh19910216, I can not reproduce your error on my local machine:

Elapsed time to handle opencv:x64-windows: 765 ms
Total install time: 3.1 h
opencv provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(OpenCV CONFIG REQUIRED)
  # note: 59 additional targets are not displayed.
  target_link_libraries(main PRIVATE opencv_ml opencv_dnn opencv_dpm opencv_hdf)

Please make sure you are using the latest port files with git pull and vcpkg update. Delete all opencv caches and try again.

Thank you! But I fail again.
I have used "git pull" and "vcpkg update", and deleted the folders "opencv", "opencv4", "opencv-cache" and "temp".
But it fails again.

CPU: Intel Core i5-1155G7
GPU: NVIDIA GeForce MX450
CUDA: 12.4

from vcpkg.

cyh19910216 avatar cyh19910216 commented on September 22, 2024

install-x64-windows-dbg-out.log

from vcpkg.

JonLiu1993 avatar JonLiu1993 commented on September 22, 2024

@cyh19910216, I can not reproduce your error on my local machine:

Elapsed time to handle opencv:x64-windows: 765 ms
Total install time: 3.1 h
opencv provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(OpenCV CONFIG REQUIRED)
  # note: 59 additional targets are not displayed.
  target_link_libraries(main PRIVATE opencv_ml opencv_dnn opencv_dpm opencv_hdf)

Please make sure you are using the latest port files with git pull and vcpkg update. Delete all opencv caches and try again.

from vcpkg.

github-actions avatar github-actions commented on September 22, 2024

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

from vcpkg.

burning-star-x avatar burning-star-x commented on September 22, 2024

The latest version of OpenCV available in vcpkg is 4.8.0.

OpenCV version 4.8.0 supports the latest CUDA version, which is 12.0.

so, use CUDA 12.0

and,close all antivirus software before installation.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.