gpt4 book ai didi

c++ - 在 autoconf 中使用 doxygen 宏

转载 作者:行者123 更新时间:2023-11-28 07:57:35 25 4
gpt4 key购买 nike

我正在尝试使用 doxygen 来记录我的项目的源代码,并且我正在为构建系统使用 autotools。我已经从 autoconf-archive 存储库下载了 ax_prog_doxygen.m4 宏,对 aminclude.am 进行了更改,并确保在 configure.ac 中调用 DX_INIT_DOXYGEN 和其余部分。

生成配置脚本和 makefile 的所有命令都可以正常工作,但实际上我不能再创建项目了,失败并出现以下错误:

Makefile:833: *** missing separator.  Stop

完整代码位于 https://gist.github.com/3690227

最佳答案

当您从不同的操作系统复制/下载宏时,通常会发生这种情况。检查文件格式 (unix/windows) 并使用一致的缩进策略(制表符或空格),尤其是在 Makefile 上。

祝你好运!

关于c++ - 在 autoconf 中使用 doxygen 宏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12354144/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com