Ask Your Question

How to check at compile-time for built features [closed]

asked 2018-07-04 15:44:34 -0500

For example, is there any preprocessor variable set when OpenCV was built "with CUDA" or "without OpenCL"?

Thank you

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by LBerger
close date 2018-07-04 16:05:56.221244



Oh well, I was looking through the files on the github, not my local install. Thanks, everything's in that!

cedricmenard gravatar imagecedricmenard ( 2018-07-04 15:58:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-07-04 15:53:15 -0500

LBerger gravatar image

updated 2018-07-04 15:54:58 -0500

Have you open opencv2/opencv.hpp header and opencv2/opencv_modules.hpp (no link because this file is on your computer)?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-07-04 15:44:34 -0500

Seen: 43 times

Last updated: Jul 04 '18