Ask Your Question
0

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: http://docs.opencv.org/3.1.0/d7/d9f/t...

At step 7 I got:

> pwd
/home/fanta/opt/opencv-3.1.0/build/doc
> 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
/home/fanta/opt/opencv-3.1.0/build
> 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?

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

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

Stats

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

Seen: 1,164 times

Last updated: Nov 20 '16