Ask Your Question
0

cant install on eclipse. Err: /usr/local" does not exist [closed]

asked 2014-01-12 15:32:19 -0500

cellurl gravatar image

Trying to install on Ubuntu/Eclipse/C++

I am following these instructions: link text

I get this: $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local

CMake Error: The source directory "/home/jim/workspace/displayimage/opencv-2.4.7/release/CMAKE_INSTALL_PREFIX=/usr/local" does not exist.

Thanks for helping. jim

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by cellurl
close date 2018-02-08 12:21:00.889399

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-01-13 00:07:33 -0500

Vladislav Vinogradov gravatar image

Do not add spaces after -D option:

$ cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local <path to opencv>
edit flag offensive delete link more

Comments

I don't understand why the install tutorial shows "SPACE". Oh well. Thanks. That fixed it. For others, this video was also useful. http://www.youtube.com/watch?v=6jSPoBgQPMI Thanks Vladislav! Dunno if tip is available?

cellurl gravatar imagecellurl ( 2014-01-14 19:32:10 -0500 )edit

Question Tools

Stats

Asked: 2014-01-12 15:32:19 -0500

Seen: 857 times

Last updated: Jan 13 '14