I solved this problem (so happy, and I share):
Step 1: Remove the entire MikTeX exists on your computer using the Control Panel, after removing deleted folder named MikTeX in C:\ Program files (x86 ) to avoid errors when resetting because the same name folder (uninstall is complete without restarting the computer)
Step 2: Reinstall the MikTeX below (no need to install the program editor as texstudio, Texmaker, viettex, ...), this error is due to foundation MikTeX
MikTeX file download link: click here
After downloading, you unzip. Installation file named setup-2.8.3553.exe in directory MikTeX /setup
Step 3: Install the file setup-2.8.3553.exe as usual, remember to tick select Complete MikTeX to install the full version.
Note when using:
Note 1: The order declaring the package ordered to order from top to bottom as follows:
\ usepackage {graphicx}
\ usepackage {epstopdf}
\ usepackage {subfigure}
Note 2: Before running TeX files, please ensure that you have deleted the corrupted PDF files are output from run error before (just leave a tail .eps image file)
Please vote me if it works !!!!
Coppy right: https://nhcan.wordpress.com/2020/04/05/loi-khi-bien-dich-file-latex-co-hinh-anh-dinh-dang-eps/
pdftex
doesn't do that.pdflatex
does that automatically.