Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error running compiled hog.cpp sample using gpu acceleration

After compiling and running the Hog.cpp sample, I get the initial console output stating my device and the applications controls. After that a window flashes up momentarily before I am returned to the console with the following error:

OpenCV Error: Gpu API call (invalid device symbol) in set_up_constants, file /home/ralphy/opencv-2.4.10/modules/gpu/src/cuda/hog.cu, line 93 error: /home/ralphy/opencv-2.4.10/modules/gpu/src/cuda/hog.cu:93: error: (-217) invalid device symbol in function set_up_constants

I am using xubuntu and have a quadro k600. Thanks!