[Tex/LaTex] File Not Found When Using Includegraphics

graphicspdftex

I am writing a mathematical paper, and in it I need to include certain images relevant to the topic. However, when I try to do so, I receive an error code, and nothing I have found on the subject is giving me any insight on how to relieve this error. I have the following;

\usepackage{graphicx}
\graphicspath{ {C:/Texpics} }


\begin{document}
\includegraphics{img.png}

And I receive;

! LaTeX Error: File `img.png' not found.

Any advice would be appreciated. Working in both TeXworks and Texmaker gives the same result.

Best Answer

Looks like you need it have:

\graphicspath{{C:/Texpics/}}

Else are you sure that the figure exists in the directory?

Related Question