I think the problem is that you have set texmakerx to run pdftex rather than pdflatex. In TeXshop, which I use, it's easy to pick which one runs by making a choice in the typeset menu. I assume it's just as easy in texmakerx.