When I build the output, I can view it in pdf using sumatrapdf by pressing F5 sometimes, but most of the time I have to rebuild the output until it works. The error is:
When I build the pdf, I can open the pdf using SumatraPDF by going to the folder and opening it, but I would prefer to be able to do it by pressing F5.
I am using the following settings:
There are some lines that run past the picture; here they are:
Command line arguments to pass to the compiler:
-synctex=-1 -max-print-line=120 -interaction=nonstopmode "%wm"
Executable path (Viewer tab, first line)
C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -inverse-search "\"C:\Program Files\TeXnicCenter\TeXnicCenter\TeXnicCenter.exe\" /ddecmd \"[goto('%f','%l')]\""
(These are the same settings (including file paths, which I think are correct because that is where I find the executables in the folders) as in Configure TeXnic Center with Sumatra for the viewer tab and the same settings as suggested in How to configure TeXnicCenter 2.0 with Sumatra (2013--2016 version) for the (La)TeX tab)
What can I do to fix this, or is there any more information I should provide?



