That is probably because with minted you have to modify how the pdf is built to use pdflatex -shell-escape.
The variable org-latex-pdf-process controls this. Peter Davis writes: > Ok, my problem was that the minted package was causing errors. Taking > that out lets me generate pdf. > > Now to figure out how to generate other formats, to work with HTML and > LaTeX/PDF output. > > Thanks, all!! > > -pd -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu