[Tex/LaTex] pdflatex the external program finished with an error

errorslyxpdftex

Using Win 10 and Lyx 2.2

Tried to view the Beamer manual as PDF but the error comes up "the external program pdflatex finished with an error"

I have tried to view the Latex log under the Document menu and have only found warnings:

Package hyperref Warning: Option `pdfauthor' has already been used,

LaTeX Font Warning: Font shape `T1/cmss/m/n' in size <4> not available

LaTeX Font Warning: Size substitutions with differences

and underneath these warnings lyx appears to have either disregarded or found solutions.

Looking through the other questions, I have tried the suggestion to use Sumatra as my default PDF viewer, and have altered the viewer and Path settings accordingly. This allowed me to view the Introduction which came with Lyx but I've still not been able to view the Beamer manual.

I have also been unable to view/export to PDF any of the Beamer examples or templates which came with Lyx.

Is this a problem with pdflatex or Beamer?

Is there a way to fix this?

My alternative is to use Powerpoint but that is not what I had in mind.

Edit: I tried XeTeX with the same errors produced, but managed to get things working with LuaTex. Any ideas as to what's going on?

LuaTex is now no longer working either, and all I did was view 2 more beamer files.

Best Answer

I had the same issue. I have windows 10 installed , and also have lyx along with Miktex 2.9 . This problem was because of this reason that Lyx is 32 bit software , and the Miktex I installed was 64 bit version , I un-installed Miktex 64 bit version , and installed 32 bit verion of miktex , and the problem gone... Hence You must have Miktex and LyX both installed in x86 i.e 32 bit versions. Thanks ..