RSS

OpenCV: CUDA_TOOLKIT_ROOT_DIR not found or specified

30 Nov

In the latest OpenCV release version is 2.3.1 (August 2011), if you use CMake to config the build files for VisualStudio, it is likely that you encounter the same error as me:

image

Some recommend to use the old version 2.3 instead to troubleshoot this, while a simple solution is to point this directory to any existing folder, as shown below:

 image 

image

Now re-click the config button and then re-build, all should be fine!

Happy coding!

Advertisements
 
5 Comments

Posted by on November 30, 2011 in General

 

5 responses to “OpenCV: CUDA_TOOLKIT_ROOT_DIR not found or specified

  1. Diana

    December 1, 2011 at 9:35 pm

    Thanks!

     
  2. Jun

    December 2, 2011 at 10:32 pm

    Thanks for the information.

     
  3. Youssef Ichahane

    June 6, 2012 at 9:48 am

    Thinks it work 😉

     
  4. salih

    August 6, 2012 at 12:08 am

    Thank you so much dude!

     
  5. 嘎米嘎米

    November 15, 2012 at 10:03 pm

    感謝

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: