Ask Your Question

How do I build the doc with OpenCV 3.1?

asked 2016-11-20 06:55:08 -0600

fanta gravatar image

I am trying to build the documents, after installation on Ubuntu 16.04, following instructions at:

At step 7 I got:

> pwd
> make -j7 html_docs
make: *** No rule to make target 'html_docs'. Stop.

I have tried also with the doxygen tutorial, and I got the same kind of error (after running cmake):

> pwd
> make doxygen
make: *** No rule to make target 'doxygen'. Stop.
> cd doc
> make doxygen
make: *** No rule to make target 'doxygen'. Stop.

How can I build the OpenCV documentation?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-20 08:35:07 -0600

berak gravatar image

updated 2016-11-20 08:37:38 -0600

you have to select BUILD_DOCS=ON in cmake first, also DOXYGEN_EXECUTABLE should point to the doxygen binary in cmake, then it's make doxygen (also make install should build the docs then, as the very last step)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-20 06:55:08 -0600

Seen: 1,121 times

Last updated: Nov 20 '16