Fixing No \citation Commands Found Error in LaTeX

auxiliary-filesbibtexcitingerrors

I'm trying to compile myFile.tex, a program which draws on bibtex and biber

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{myRefs.bib}
...
\begin{document}
...By the Seuss theorem\textcite{firstRef}
...
\section{References}
\printbibliography 
\end{document}

Upon compiling, this gave me the following errors

I found no \citation commands---while reading file myFile.aux
I found no \bibdata command---while reading file myFile.aux
I found no \bibstyle command---while reading file myFile.aux

I don't understand why this is happening, or what I have to do with myFile.aux. Can anyone explain this and how to get around it?

Best Answer

As mentioned in the comments, you should run biber to compile your bib file as you have used biber as the backend.

\usepackage[style=authoryear,backend=biber]{biblatex}

Here are the commands to compile your myFile.tex and your .bib files:

pdflatex myFile
biber myFile
pdflatex myFile
Related Question