Build fix.

This commit is contained in:
Alexander Smorkalov 2013-12-17 10:24:00 +04:00
parent 8660e048bc
commit 88a883e68e
3 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
#ifdef HAVE_CUDA

View File

@ -48,8 +48,6 @@
#include "opencv2/core/core.hpp"
#include "opencv2/core/cuda_devptrs.hpp"
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
namespace cv { namespace gpu
{
//////////////////////////////// Initialization & Info ////////////////////////

View File

@ -65,6 +65,8 @@ using namespace std;
using namespace cv;
using namespace cv::gpu;
#define throw_nogpu CV_Error(CV_GpuNotSupported, "The library is compiled without CUDA support")
#include "gpumat_cuda.hpp"
typedef GpuFuncTable* (*GpuFactoryType)();