opencv : unresolved external symbol

前端 未结 2 1344
無奈伤痛
無奈伤痛 2021-01-03 05:57

I know this question is all over the place, but still the magic stick of adding the library directories to the project properties is not working for me.

I followed t

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 06:41

    I added $(OPENCV_DIR)\staticlib to Library Directories and also to Linker->Additional Library Directores and added the following to Linker->Input->Additional Dependencies:

    ippicvmt.lib
    IlmImfd.lib
    libtiffd.lib
    libpngd.lib
    libjasperd.lib
    libjpegd.lib
    libwebpd.lib
    zlibd.lib
    comctl32.lib
    

    And the example now works.

提交回复
热议问题