I just installed TeXstudio 2.5.2 and compiled the following
\documentclass{article}
\begin{document}
\end{document}
but I get this error
Error: Could not start the command: "/usr/texbin/pdflatex" -synctex=1 -interaction=nonstopmode "texstudio_qH5268".tex
I already installed MiKTeX, so why do I get this error?



binfiles. You can do this: go to Options>Configure and insert the whole path for thepdflatex. If you use windows, look forC:\PROGRA~2\MIKTEX~2.9\miktex\bin\pdflatex.exeor something similar. – Sigur Jan 23 at 18:38"C:\....exe" %.tex– Sigur Jan 23 at 18:58