running TeXnicCenter LaTex >> PDF produces the following error:

Output shows empty box where image should be (with same error as above written inside it).

I have placed this png in C:\Program Files\TeXnicCenter (I am assuming this is the build location).

As per http://stackoverflow.com/questions/3134187/how-to-add-a-jpg-image-in-latex , the code I'm using is

\usepackage{graphicx}
\begin{figure}[ht!]
\centering
\includegraphics[width=90mm]{Capture1.png}
\caption{A simple caption}
\label{overflow}
\end{figure}

Output crashes when compiling Latex >> DVI (but only when attempting to actually view the image in output).

I have also tried the above with .jpg (no difference).

-

## migrated from stackoverflow.comJul 30 '13 at 22:26

This question came from our site for professional and enthusiast programmers.