cannot compile the Beamer.tex file
When I tried to compile the file Beamer.tex from the codes, the following message is diplayed.
Incompatible versions of \ifluatex can cause problems,
therefore package loading is aborted.
LaTeX LaTeX-on-Windows-using-TeXworks 05-06 min 30-40 sec
Can you please tell what version of Texworks and Miktex you are using? If instead you are using Linux/Ubuntu/Mac, what version are you using?
It seems that some packages have not been updated after MikTeX installed. Could you please try out updating. Open 'MikTeX', click 'Updates' > 'Check for updates' > 'Update now'. Follow the instructions which are displayed on the screen. Feel free to revert back.
Also, have you been able to build and run the 2nd file (hello.tex)?
Could you please confirm whether 'pdflatex' is selected in the drop-down next to the green 'build and run' button. Well, the error statement just indicates that there is some conflict in ifluatex, (related to LuaTeX LaTeX engine).
Could you go to MiKTeX, Packages, and type 'ifluatex' in the textbox provided. Check whether the package is installed or not.
If it is installed, then uninstall it by clicking on the '-' minus sign. If it is not installed, then install it by clicking on '+' plus sign.
As per the discussion <a href="https://tex.stackexchange.com/questions/515598/package-ifluatex-error-name-clash-ifluatex-is-already-defined" target="" title="">here</a> on a similar problem, can you try updating MikTeX in user mode as well and then try compiling?