Installing OpenCV 3.3.0 with contrib modules using CMake, CUDA 9.0 RC and Visual Studio 2017

后端 未结 2 837
礼貌的吻别
礼貌的吻别 2021-01-06 05:24

I\'m trying to install OpenCV 3.3.0 with contrib modules using the newest CUDA 9.0 RC so it is compatible with Microsoft Visual Studio 2017. The CUDA installation was straig

相关标签:
2条回答
  • 2021-01-06 06:10

    for those having problem generating the nppi.lib as mention by Haotian Wang

    1) run step 1 and cd to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC (if using vs15)

    2) vcvarsall.bat x64

    then continue with step 2 as above

    0 讨论(0)
  • 2021-01-06 06:27

    I have solved this problem. I use lib.exe to combine these several libraries into one library.

    1. Run "x64 Native Tools Command Prompt for VS 2017"
    2. cd into the cuda folder
    3. lib.exe /out:nppi.lib nppial.lib nppicc.lib nppicom.lib nppidei.lib nppif.lib nppig.lib nppim.lib nppist.lib nppisu.lib nppitc.lib
    0 讨论(0)
提交回复
热议问题