All I am trying to include a pdf image in my tex file, but when I compiled the tex file, the console pop up the following error msg:
! LaTeX Error: Cannot determine size of graphic in time_elapsed.pdf (no Boundin gBox).
This is my code:
\begin{figure}
\centering
\includegraphics[scale=0.5]{time_elapsed.pdf}
\label{fig5}
\end{figure}
So how to solve the problem?

latexwhich only accepts EPS files and not PDF. – egreg May 14 '13 at 21:48epstopdfpackage. – egreg May 14 '13 at 22:04?