Install OpenCV C++ on Windows with MinGW Compiler

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024

ความคิดเห็น • 16

  • @kevinilhamapriandy619
    @kevinilhamapriandy619 3 ปีที่แล้ว

    Thank you very much for the OpenCV MinGW file. Didn't work when I tried another OpenCV MinGW file. Greatly appreciated.

  • @collinhansen3607
    @collinhansen3607 3 ปีที่แล้ว +8

    I am on my last nerve with building this library. The documentation is worse than I would have expected for such an ubiquitous and powerful tool. Thank you for this underrated advice. This is the first I'm hearing of OpenCV not coming with prebuilt lib files for mingw64 compiler. This is exactly what is causing my problems. In my mingw32-make log, I have been encountering errors at the linking step, directly after the examples are built (I selected generate examples and world module in cmake generator). Further investigation on StackOverflow has shown me that this is due to these missing prebuilt libraries which may exist in certain versions of windows- things like libgdi32.a, etc.
    How did you find these files for your version? I am attempting for the latest version to date, which is 4.5.2. Thank you for creating this tutorial. I seriously wanted to throw up. Hopefully I can find the files and make this version work. If not, I will probably go for v3

    • @EllAntares
      @EllAntares 5 หลายเดือนก่อน

      Windows CAN'T contain any .a files, that's strictly something from mingw64 or other libraries. Problem with prebilding somethign so low-level as OpenCV if that depends o libgdi that you would need.. literary HUNDREDS of binaries. For each run-time version, for each version of libgdi, for each version of c compiler (migw, clang, MSBuild, etc.), for each version of SDk (and there are a few dozens across curront ecosystem) if that MSBuild, etc. etc. Or you'll face binary incompatibilities.

  • @zilch-x1054
    @zilch-x1054 ปีที่แล้ว +2

    Whenever I download the MinGW it downloads a zip file with a ton of folders but none of them are bin nor any application installer file. Am I doing something wrong?

    • @walleve_
      @walleve_ ปีที่แล้ว

      th-cam.com/video/1TPmiiAqmlc/w-d-xo.html

    • @JUANjuan871ju
      @JUANjuan871ju 15 วันที่ผ่านมา

      same

  • @HarshithaL-ng9ff
    @HarshithaL-ng9ff 5 หลายเดือนก่อน +1

    I can't open the drive link you have added in the description.Please Help!!

  • @diyorbeksadullaev
    @diyorbeksadullaev 2 ปีที่แล้ว

    Thank you sir!!! It finally worked after I followed your video 😭👍

  • @mrbubble185
    @mrbubble185 ปีที่แล้ว

    Nice video but I wanted to see what the Makefile looked like. I guess I'm gonna have to learn cmake 😄

  • @mohameammaha99
    @mohameammaha99 2 ปีที่แล้ว +1

    display_image it returns error on CMD !! Any hints?

  • @ssdggsgsg6541
    @ssdggsgsg6541 7 หลายเดือนก่อน +1

    why is access denied to drive??? i can't download brah!

  • @Appri
    @Appri 2 ปีที่แล้ว

    Hello! I need some help, I'm getting a DLL procedure entry point error whenever I compile anything with opencv. Thanks!

  • @shbz188
    @shbz188 2 ปีที่แล้ว

    Very good tutorial, worked!

  • @shahlaukik
    @shahlaukik 2 ปีที่แล้ว

    It worked on latest version also!!!!

  • @mohameammaha99
    @mohameammaha99 2 ปีที่แล้ว

    Good Job Sir 😀