LaTeX Error: File `…' not found — Figure file not found
An \includegraphics file does not exist, so the PDF has an empty box.
Fix
Fix the path and file name (case-sensitive).
Example
Reproduced on TeX Live 2026 by CI · lualatex · corpus/missing-figure
Figure file does not exist
main.tex\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{figures/loss-curve}
\caption{Training loss.}
\end{figure}
\end{document}\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{example-image}
\caption{Training loss.}
\end{figure}
\end{document}main.log! LaTeX Error: File `figures/loss-curve' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 ...cs[width=0.6\linewidth]{figures/loss-curve}
I could not locate the file with any of these extensions:
.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2,.eps
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.