Please bear with me, I'm trying to use LaTeX for my thesis and I have no idea how to solve this problem. Found multiple posts here and no solutions worked for me. I'm using TeXstudio and just can't get the bibliography to work, always getting this error message:
This is BibTeX, Version 0.99d (MiKTeX 21.2)
The top-level auxiliary file: document.aux
I found no \citation commands---while reading file document.aux
I found no \bibdata command---while reading file
I found no \bibstyle command---while reading file document.aux
(There were 3 error messages)
Process exited with error(s)
This is my code:
%Dokumentenklasse "scrbook" - Erweitert um den Verweis auf die Verzeichnisse und Texteigenschaften
\documentclass[chapterprefix=false, 12pt, a4paper, oneside, parskip=half, listof=totoc, bibliography=totoc, numbers=noendperiod]{scrbook}
%Indents
\setlength{\parindent}{3em}
\setlength{\parskip}{1em}
%Sprache
%\usepackage[english]{babel}
\usepackage{biblatex}
%Tweaks für scrbook
\usepackage{scrhack}
%Blindtext
\usepackage{blindtext}
%Erlaubt unter anderem captions
\usepackage{caption}
%Kompakte Listen
\usepackage{paralist}
%Für NewGeometry auf dem Deckblatt
\usepackage{geometry}
%Zitate besser formatieren und darstellen
\usepackage{epigraph}
%Anpassung von Kopf- und Fußzeile
%beinflusst die erste Seite des Kapitels
\usepackage[automark,headsepline]{scrlayer-scrpage}
\automark{chapter}
\ihead{\leftmark}
\chead{}
\ohead{\thepage}
\ifoot{}
\cfoot[\thepage]{}
\cfoot{}
\ofoot*{}
\pagestyle{scrheadings}
%Zeilenabstand 1,5
\usepackage[onehalfspacing]{setspace}
%Verbesserte Darstellung der Buchstaben zueinander
\usepackage[stretch=10]{microtype}
%Unterstützung von Umlauten und anderen Sonderzeichen (UTF-8)
\usepackage{lmodern}
\usepackage[utf8]{luainputenc}
\usepackage[T1]{fontenc}
%Grafiken (wie jpg, png, etc.)
\usepackage{graphicx}
%Grafiken von Text umlaufen lassen
\usepackage{wrapfig}
%Unterstützung der H positionierung (keine automatische Verschiebung eingefügter Elemente)
\usepackage{float}
%\usepackage[authoryear]{natbib}
\usepackage {hyperref}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=mla-new]{biblatex}
\addbibresource{library}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Anpassung der Überschriften
\addtokomafont{disposition}{\rmfamily}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{chapter/title}
\include{chapter/abstract}
\tableofcontents
\include{chapter/intro}
\include{chapter/two}
\include{chapter/three}
\include{chapter/four}
\include{chapter/five}
\printbibliography
\include{chapter/eid}
\end{document}
And one of the pages has \nocite{*}
biblatexwith default settings then you should not run BibTeX but you should run Biber instead. You can set your editor to do this. I don't have TeXstudio so I can't test it but probably https://tex.stackexchange.com/a/154754/ can help you here. – Marijn Mar 10 '21 at 10:40