Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Issues Compiling 3.2 with CUDA

Hi,

I'm a student trying to compile OpenCV with CUDA enabled. But I get frequent errors when I compile within Visual Studio 2013.

My environment: OpenCV 3.2 (from Master branch) Visual Studio 2013 Windows 10 - 64 bit Nvidia GeForce 960M CUDA Toolkit 8.0

My Process:

  1. Download OpenCV source from GitHub
  2. Use CMake to generate the project

    CUDA is enabled by default and I am changing nothing in the parameters

    I generate using the "Visual Studio 12 2013 Win64" generator. No major errors are thrown though "Error: MEXEXT: Unsupported platform." occurs once in the output console. Generation ultimately completes.

  3. Open the "OpenCV.sln" file in the generated output.
  4. Right click "Build All" -> Build
  5. Get the following errors:

This one occurs many times, particularly on cuda projects.

Error 4646 error : MEXEXT: Unsupported platform. D:\Libraries\cuda opencv\Build\modules\cudaarithm\CUSTOMBUILD opencv_cudaarithm

Error 140 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\ml\LINK opencv_ml

Error 171 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\imgproc\LINK opencv_imgproc

Could anyone please let me know if there's anything obviously wrong with my setup or process? Hi,

Issues Compiling 3.2 with CUDA

Hi,

I'm a student trying to compile OpenCV with CUDA enabled. But I get frequent errors when I compile within Visual Studio 2013.

My environment: OpenCV 3.2 (from Master branch) Visual Studio 2013 Windows 10 - 64 bit Nvidia GeForce 960M CUDA Toolkit 8.0

My Process:

  1. Download OpenCV source from GitHub
  2. Use CMake to generate the project

    CUDA is enabled by default and I am changing nothing in the parameters

    I generate using the "Visual Studio 12 2013 Win64" generator. No major errors are thrown though "Error: MEXEXT: Unsupported platform." occurs once in the output console. Generation ultimately completes.

  3. Open the "OpenCV.sln" file in the generated output.
  4. Right click "Build All" -> Build
  5. Get the following errors:

This one occurs many times, particularly on cuda projects.

Error 4646 error : MEXEXT: Unsupported platform. D:\Libraries\cuda opencv\Build\modules\cudaarithm\CUSTOMBUILD opencv_cudaarithm

Error 140 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\ml\LINK opencv_ml

Error 171 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\imgproc\LINK opencv_imgproc

Could anyone please let me know if there's anything obviously wrong with my setup or process? Hi,process?

Issues Compiling 3.2 with CUDA

Hi,

I'm a student trying to compile OpenCV with CUDA enabled. But I get frequent errors when I compile within Visual Studio 2013.

My environment: environment:
OpenCV 3.2 (from Master branch) branch)
Visual Studio 2013 2013
Windows 10 - 64 bit bit
Nvidia GeForce 960M 960M
CUDA Toolkit 8.08.0

My Process:

  1. Download OpenCV source from GitHub
  2. Use CMake to generate the project

    CUDA is enabled by default and I am changing nothing in the parameters

    I generate using the "Visual Studio 12 2013 Win64" generator. No major errors are thrown though "Error: MEXEXT: Unsupported platform." occurs once in the output console. Generation ultimately completes.

  3. Open the "OpenCV.sln" file in the generated output.
  4. Right click "Build All" -> Build
  5. Get the following errors:

This one occurs many times, particularly on cuda projects.

Error 4646 error : MEXEXT: Unsupported platform. D:\Libraries\cuda opencv\Build\modules\cudaarithm\CUSTOMBUILD opencv_cudaarithm

Error 140 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\ml\LINK opencv_ml

Error 171 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\imgproc\LINK opencv_imgproc

Could anyone please let me know if there's anything obviously wrong with my setup or process?

edit: some formatting cleanup

[Solved] MEXEXT Issues Compiling 3.2 with CUDA

Hi,

I'm a student trying to compile OpenCV with CUDA enabled. But I get frequent errors when I compile within Visual Studio 2013.

My environment:
OpenCV 3.2 (from Master branch)
Visual Studio 2013
Windows 10 - 64 bit
Nvidia GeForce 960M
CUDA Toolkit 8.0

My Process:

  1. Download OpenCV source from GitHub
  2. Use CMake to generate the project

    CUDA is enabled by default and I am changing nothing in the parameters

    I generate using the "Visual Studio 12 2013 Win64" generator. No major errors are thrown though "Error: MEXEXT: Unsupported platform." occurs once in the output console. Generation ultimately completes.

  3. Open the "OpenCV.sln" file in the generated output.
  4. Right click "Build All" -> Build
  5. Get the following errors:

This one occurs many times, particularly on cuda projects.

Error 4646 error : MEXEXT: Unsupported platform. D:\Libraries\cuda opencv\Build\modules\cudaarithm\CUSTOMBUILD opencv_cudaarithm

Error 140 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\ml\LINK opencv_ml

Error 171 error LNK1181: cannot open input file '....\lib\Release\opencv_core320.lib' D:\Libraries\cuda opencv\Build\modules\imgproc\LINK opencv_imgproc

Could anyone please let me know if there's anything obviously wrong with my setup or process?

edit: some formatting cleanup