Compilation issue with pdfLaTeX and auto-pst-pdf

You are starting pdflatex in root. So this is the current directory. auto-pst-pdf will at first call latex --jobname=test-autopp test to generate a test-autopp.dvi with the pictures. This first step will already fail as latex obviously can't find test in the current directory root and has no idea that it should look in scr.

You should always start pdflatex in the directory of the main file. Everything else can get quite confusing.


insert into your preamble:

\graphicspath{{./}{./src/}{./build/}}