我使用Doxygen GUI在windows下创建文档。这是我在"D:UsersJorgeDesktop"下的项目文件夹:
Pract3Copia+
|
+--Documentation (Empty Directory)
|
+-- dfa.cpp
|
+-- dfa.hpp
|
+-- dfa.o
|
+-- dfaException.hpp
|
+-- dfaException.cpp
|
+-- dfaException.o
|
+-- state.cpp
|
+-- state.hpp
|
+-- state.o
|
+-- main.cpp
|
+-- main.o
|
+-- dfa.exe
|
+-- Makefile
|
+-- 1.dfa
一旦氧完成创建文档,我得到这个:
Documentation+
|
+-- Latex+
|
+-- annotated.tex
|
+-- classdfa.tex
|
+-- classdfa_exceptions.eps
|
+-- classdfa_exception.tex
|
+-- classstate.tex
|
+-- doxygen.sty
|
+-- hierarchy.tex
|
+-- make.bat
|
+-- Makefile
|
+-- refman.tex
|
+-- structconnection.tex
现在,我继续在cmd中执行"make"命令。但我得到一些错误和。pdf文件没有生成。我不知道这是如何工作的,所以我不太确定我应该如何修复它。我也没有在网上找到这个错误。谢谢。
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>make
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>set Dir_Old=D:UsersJor
geDesktopPract3-copiaDocumentationlatex
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>cd /D D:UsersJorgeDes
ktopPract3-copiaDocumentationlatex
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>del /s /f *.ps *.dvi *.a
ux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
Cant find D:UsersJorgeDesktopPract3-copiaDocumentationlatex*.p
s
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>echo ----
----
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>makeindex refman.idx
"makeindex" is not recognized as an internal or external command, operable program or batch file.
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>echo ----
----
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>setlocal enabledelayedex
pansion
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>set count=8
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>set content=X
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>for /F "tokens=*" %T in
('findstr /C:"Rerun LaTeX" refman.log') do set content="%~T"
FINDSTR: Cant open refman.log
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>if !content! == X for /F
"tokens=*" %T in ('findstr /C:"Rerun to get cross-references right" refman.log'
) do set content="%~T"
FINDSTR: Cant open refman.log
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>if !content! == X goto :
skip
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>endlocal
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>makeindex refman.idx
"makeindex" is not recognized as an internal or external command, operable program or batch file.
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>pdflatex refman
"pdflatex" is not recognized as an internal or external command, operable program or batch file.
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>cd /D D:UsersJorgeDes
ktopPract3-copiaDocumentationlatex
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>set Dir_Old=
D:UsersJorgeDesktopPract3-copiaDocumentationlatex>
您需要安装latex发行版来生成PDF文件。我用MikTex。您应该已经安装了以下工具:
- Latex发行版(例如MikTex)
- 内容
- 一个TCL解释器(例如ActiveTcl)