Ask Your Question
0

CMake Error: INSTALL(EXPORT) given unknown export "OpenCVModules"

asked 2014-02-12 09:11:35 -0600

wab gravatar image

updated 2014-02-13 14:14:24 -0600

Hello, I download 3 days ago, newest version of openCV 2.4.8. Unpack on my Debian Linux Squeeze. Create inside folder build-release and go into. I run command:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv-2.4.8 ..

on the bottom of out, I have error:

CMake Error: INSTALL(EXPORT) given unknown export "OpenCVModules"

I mention I have no problem with openCV 2.4.4. And I check every dependencies I need. Google don't show anything about it.


Today I upgrade my linux debian from squeeze to wheezy specially for compile OpenCV. When I run command:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv-2.4.8 ..

I have results:

http://pastebin.com/sfQ8hcmT

edit retag flag offensive close merge delete

Comments

wab gravatar imagewab ( 2014-02-12 10:18:51 -0600 )edit

I have this position of cmake log empty:

> -- OpenCV modules: > -- To be built: - > -- Disabled: - > -- Disabled by dependency: - > -- Unavailable: -

wab gravatar imagewab ( 2014-02-12 10:32:20 -0600 )edit

Did you solve the problem? I'm getting the same error right now

escorciav gravatar imageescorciav ( 2014-04-12 17:22:05 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-08-14 10:47:27 -0600

Susurrus gravatar image

I had this same problem too, but it was fixed by building the "core" module as well as the modules I did want (in my case I just wanted ml and python3).

edit flag offensive delete link more
0

answered 2014-02-12 10:17:41 -0600

Shivam gravatar image

updated 2014-02-12 10:21:34 -0600

you can try this :

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

edit flag offensive delete link more

Comments

Same result as before.

wab gravatar imagewab ( 2014-02-13 13:45:11 -0600 )edit

Question Tools

Stats

Asked: 2014-02-12 09:11:35 -0600

Seen: 4,118 times

Last updated: Aug 17 '14