Building Documentation

本文介绍如何使用特定版本的texi2html构建FFmpeg文档的方法,包括安装所需工具、解决版本问题及配置步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Building Documentation

To build FFmpeg's documentation, you need texi2html. If the configure script finds it, documentation will be automatically generated, or else, no documentation will be generated.

FFmpeg's website uses an old (hard to find) version of texi2html (version 1.56k), which produces a very nice output. The newest version of texi2html produces something else, which I dislike.

You can either install the latest and ugly version, or the old and nice version.

texi2html requires perl, which can be installed with the MSys DTK.

texi2html version 1.56k
texi2html latest version

pod2man is also needed, to generate man pages, or else make will fail. I don't build them. I don't want man pages.

I simply create an empty /bin/pod2man file:
touch /bin/pod2man




texi2html version 1.56k

It's rather hard to find this old version of texi2html, but it produces better output.
I'm hosting a copy at: http://arrozcru.no-ip.org/ffmpeg_sources/texi2html

As is, FFmpeg's configure script won't find it, since it returns -1 on texi2html -version, while it should return 0.
So, either get the original file http://arrozcru.no-ip.org/ffmpeg_sources/texi2html.orig
and apply this patch: http://arrozcru.no-ip.org/ffmpeg_sources/texi2html.patch
or, better yet, install the patched version: http://arrozcru.no-ip.org/ffmpeg_sources/texi2html.patched

To install it, simply download that file to your /bin folder.
In Windows, it should be C:/msys/bin.
Remember to remove the .patched or .orig extension.
 
它的package.xml为:<?xml version="1.0"?> <package> <name>dh_hand_driver</name> <version>0.0.0</version> <description>The dh_hand_driver package</description> <!-- One maintainer tag required, multiple allowed, one person per tag --> <!-- Example: --> <!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> --> <maintainer email="jiesun@todo.todo">jiesun</maintainer> <!-- One license tag required, multiple allowed, one license per tag --> <!-- Commonly used license strings: --> <!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 --> <license>TODO</license> <!-- Url tags are optional, but multiple are allowed, one per tag --> <!-- Optional attribute type can be: website, bugtracker, or repository --> <!-- Example: --> <!-- <url type="website">http://wiki.ros.org/dh_hand_driver</url> --> <!-- Author tags are optional, multiple are allowed, one per tag --> <!-- Authors do not have to be maintainers, but could be --> <!-- Example: --> <!-- <author email="jane.doe@example.com">Jane Doe</author> --> <!-- The *depend tags are used to specify dependencies --> <!-- Dependencies can be catkin packages or system dependencies --> <!-- Examples: --> <!-- Use depend as a shortcut for packages that are both build and exec dependencies --> <!-- <depend>roscpp</depend> --> <!-- Note that this is equivalent to the following: --> <!-- <build_depend>roscpp</build_depend> --> <!-- <exec_depend>roscpp</exec_depend> --> <!-- Use build_depend for packages you need at compile time: --> <!-- <build_depend>message_generation</build_depend> --> <!-- Use build_export_depend for packages you need in order to build against this package: --> <!-- <build_export_depend>message_generation</build_export_depend> --> <!-- Use buildtool_depend for build tool packages: --> <!-- <buildtool_depend>catkin</buildtool_depend> --> <!-- Use exec_depend for packages you need at runtime: --> <!-- <exec_depend>message_runtime</exec_depend> --> <!-- Use test_depend for packages you need only for testing: --> <!-- <test_depend>gtest</test_depend> --> <!-- Use doc_depend for packages you need only for building documentation: --> <!-- <doc_depend>doxygen</doc_depend> --> <buildtool_depend>catkin</buildtool_depend> <build_depend>actionlib</build_depend> <build_depend>actionlib_msgs</build_depend> <build_depend>message_generation</build_depend> <build_depend>roscpp</build_depend> <build_depend>rospy</build_depend> <build_depend>serial</build_depend> <build_depend>std_msgs</build_depend> <run_depend>std_msgs</run_depend> <run_depend>actionlib</run_depend> <run_depend>actionlib_msgs</run_depend> <run_depend>message_runtime</run_depend> <run_depend>roscpp</run_depend> <run_depend>rospy</run_depend> <run_depend>serial</run_depend> <!-- The export tag contains other, unspecified, tags --> <export> <!-- Other tools can request additional information be placed here --> </export> </package>。需要修改吗?
03-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值