[Tex/LaTex] BibTeX error in TexMaker {I couldn’t open file name `test_bb.aux’}

bibtex

I am using Mikitex + Texmaker for writing a IEEETrans paper and i am a novice in all this. I have a test file which I am using for understanding how to insert bibliography. Thus, I have two files namely test_bb.tex and bb.bib. I have made all the settings as mentioned in this link on the same forum

Configuring TexMaker and BibTex

Here is the code snippet of settings after using wizard

pdflatex -synctex=1 -interaction=nonstopmode %.tex|bibtex %|pdflatex -synctex=1 - interaction=nonstopmode %.tex|pdflatex -synctex=1 -interaction=nonstopmode %.tex

so when I compile the test_bb file manually one by one (PDFLaTeX -> BibTex -> PDFLaTeX -> PDFLaTeX) or by quick build (as set in wizard of Texmaker) I get following stupid error while doing BibTex. Both bib and tex files are at the same location. I can't see the references and citation at all. even I have tried it after deleting log and aux files in build folder but no success.

This is the error

Process started

I couldn't open file name `test_bb.aux'

Process exited normally

The code snippet is as under for both files

tex file

\documentclass[conference]{IEEEtran}
\usepackage{cite}
\begin{document}
\title{Sample IEEE paper style using Latex}
\author{\IEEEauthorblockN{Author first, Author Second, and Author Third}
\IEEEauthorblockA{Department \\
 University\\
 City - State - Zip \\
 Email: xxxx@xx.com}
 }
 \maketitle
 \begin{abstract}
   This is an abstract.
 \end{abstract}
 \section{Introduction}
 \label{sec:intro} 
  Here is a modified text sample for intro section using latex. This is a citation   \cite{author1} This is how you refer a section in another section Section~\ref{sec:meth}     ..... 
  \section{Methodologies} 
  \label{sec:meth} 
  This is the other section that you can use.
  \bibliographystyle{IEEEtran}
  \bibliography{bb}
  \end{document}

and bib file is as under:

@ARTICLE{author1,
 author = {John Frederik Camelot Smith and Jason Bourne},
 title = {{The Pain of Having a Foolish Name}},
 journal = {Journal of Modern Fiction},
 year = {2009},
 volume = {52},
 pages = {114},
 number = {1},
 issn = {0010-4620},
 publisher = {Grendel Publishing}
}

Please help…

Best Answer

If you are using a ´build´ subfolder for your output files, the generated aux file will be placed there. A simple way to solve this problem is to edit the configuration of Texmaker.

bibtex build\%

This should do the trick. Try to run Bibtex, this should work fine. If you want to use your own defined sequence of executing (PDFLatex BibTex PDFLatex PDFLatex) you need to update that one as well, since this is still stuck with the old bibtex command (without the build\ addition). See the screenshot below for the implementation in the texmaker configuration screen:

enter image description here