OpenCV is using by image processing fields.
I want to use oepncv function on .cu files!
but i cant it!!!
i try to change temaplate.cu
–template.cu–
#include <stlib.h>
...
/** include OpenCV files **/
#include <cv.h>
#include <highgui.h>
int main (int argc, char **argv){
....
}
i only write "include"lines.
and change Makefile
–Makefile–
...
#Rules and targets
include ../../common/common.mk
# for OpenCV's includes and libs, create path
NVCCFLAGS+=`pkg-config opencv --cflags`
LIB+=`pkg-config opencv --libs`
then make
where are my wrong point???
what shall i do???
plz give me any informaitoin???
OS:CentOS 5.2 64bit
CUDA driver: NVIDIA Driver for Redhat Enterprise Linux 5.x with CUDA Support (174.55)
cuda toolkit:CUDA Toolkit version 1.1 for Redhat Enterprise Linux 5.x
CUDA SDK: CUDA SDK version 1.1 for Linux