OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

API link is dead,how to build it locally

Open AlexLuya opened this issue 4 years ago • 3 comments

Hello,this link is unaccessible

http://trac.openscenegraph.org/projects/osg//wiki/Support/ReferenceGuides

How to build API doc from source?

AlexLuya avatar Apr 18 '21 04:04 AlexLuya

On Sun, 18 Apr 2021 at 05:06, Alex Luya @.***> wrote:

Hello,this link is unaccessible

http://trac.openscenegraph.org/projects/osg//wiki/Support/ReferenceGuides

How to build API doc from source?

You'll need doxygen installed then in the console run:

make docs

robertosfield avatar Apr 18 '21 06:04 robertosfield

Thanks,tried make docs under source root,source root/doc/Doxyfiles and source root/build(after cmake ..),all gives:

make: *** No rule to make target 'docs'. Stop.

AlexLuya avatar Apr 18 '21 10:04 AlexLuya

On Sun, 18 Apr 2021 at 11:31, Alex Luya @.***> wrote:

Thanks,tried make docs under source root,source root/doc/Doxyfiles and source root/build(after cmake ..),all gives:

make: *** No rule to make target 'docs'. Stop

It's a number of years since I built the docs manually. Looking at the OpenSceneGraph/CMakeLists.txt the make docs target isn't generated by default. There is a CMake option BUILD_DOCUMENTATION that you will need to enable. Then run make doc_openscenegraph.

FYI, the OpenSceneGraph/README.md links to the automatically generated docs: https://codedocs.xyz/openscenegraph/OpenSceneGraph/namespaces.html

openscenegraph avatar Apr 18 '21 14:04 openscenegraph